Fix timezone in example.
This commit is contained in:
parent
df7222371b
commit
8d5d951369
1 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,8 @@ Run it like this:
|
||||||
|
|
||||||
$ export PAYPAL_CLIENT_ID=XXX
|
$ export PAYPAL_CLIENT_ID=XXX
|
||||||
$ export PAYPAL_CLIENT_SECRET=YYY
|
$ export PAYPAL_CLIENT_SECRET=YYY
|
||||||
$ python3 paypal_report.py profiles 2021-11-01T00:00:00-0700 2021-11-30T23:59:59-0700 > out.txt
|
$ python3 paypal_report.py profiles 2021-11-01T00:00:00-07:00 2021-11-30T23:59:59-07:00 > profiles.txt
|
||||||
$ python3 paypal_report.py transactions 2021-11-01T00:00:00-0700 2021-11-30T23:59:59-0700 > out.txt
|
$ python3 paypal_report.py transactions 2021-11-01T00:00:00-07:00 2021-11-30T23:59:59-07:00 > transactions.txt
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import argparse
|
import argparse
|
||||||
|
@ -136,6 +136,6 @@ def report_on_transactions(transactions):
|
||||||
else:
|
else:
|
||||||
print(f'Skipping transaction {transaction_info["transaction_id"]} with no PayPal Reference ID.', file=sys.stderr)
|
print(f'Skipping transaction {transaction_info["transaction_id"]} with no PayPal Reference ID.', file=sys.stderr)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue