diff --git a/database_caller.py b/database_caller.py index 65f779d..6270c91 100755 --- a/database_caller.py +++ b/database_caller.py @@ -799,11 +799,9 @@ def updateEconomic(api_key, logf): pass except: pass - all_economic_settings['events'] = events - with open('csv/economic_settings.json', 'w') as f: - f.write(all_economic_settings) + json.dump(all_economic_settings, f) except: pass