diff --git a/database_caller.py b/database_caller.py index 5b3088c..c25d660 100755 --- a/database_caller.py +++ b/database_caller.py @@ -5,6 +5,7 @@ # This code can not be copied and/or distributed without the express # permission of Fintic +import pickle import finnhub import time import csv @@ -157,7 +158,6 @@ def getCookiesnCrumb(): def updateStocksPrePost(api_key, logf): - try: f = open('csv/stocks_settings.json', 'r') all_stocks_settings = json.load(f) @@ -233,7 +233,6 @@ def updateStocksPrePost(api_key, logf): with open('csv/prepost_settings.json', 'w+') as f: json.dump(all_stocks_settings['symbols'], f) - except: pass