sqlExport: Change transaction start date to 2010
This commit is contained in:
parent
b417821703
commit
721000ce43
@ -111,9 +111,9 @@ try:
|
|||||||
|
|
||||||
print("Getting/Updating transactions...")
|
print("Getting/Updating transactions...")
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
transactions_csv = membershipworks.get_transactions(datetime(2020, 1, 1), now)
|
transactions_csv = membershipworks.get_transactions(datetime(2010, 1, 1), now)
|
||||||
transactions_json = membershipworks.get_transactions(
|
transactions_json = membershipworks.get_transactions(
|
||||||
datetime(2020, 1, 1), now, json=True)
|
datetime(2010, 1, 1), now, json=True)
|
||||||
# this is terrible, but as long as the dates are the same, should be fiiiine
|
# this is terrible, but as long as the dates are the same, should be fiiiine
|
||||||
transactions = [{**j, **v}
|
transactions = [{**j, **v}
|
||||||
for j, v in zip(transactions_csv, transactions_json)]
|
for j, v in zip(transactions_csv, transactions_json)]
|
||||||
|
Reference in New Issue
Block a user