From 721000ce43c15ee53318aeda0427a53783505f5f Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 29 Feb 2020 11:00:27 -0500 Subject: [PATCH] sqlExport: Change transaction start date to 2010 --- sqlExport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlExport.py b/sqlExport.py index 940f974..bc1aeba 100644 --- a/sqlExport.py +++ b/sqlExport.py @@ -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)]