forgot to import pickle
This commit is contained in:
parent
b94de007f9
commit
baa2138e52
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user