sqlExport: Change transaction start date to 2010

This commit is contained in:
Adam Goldsmith 2020-02-29 11:00:27 -05:00
parent b417821703
commit 721000ce43

View File

@ -111,9 +111,9 @@ try:
print("Getting/Updating transactions...")
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(
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
transactions = [{**j, **v}
for j, v in zip(transactions_csv, transactions_json)]