added back force fetch stock prices upon boot
This commit is contained in:
parent
057f049436
commit
a41371dd3d
@ -22,14 +22,14 @@ from multiprocessing import Process
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
time.sleep(80)
|
time.sleep(80)
|
||||||
# f = open('csv/last_updates.json', 'r')
|
f = open('csv/last_updates.json', 'r')
|
||||||
# last_updates = json.load(f)
|
last_updates = json.load(f)
|
||||||
# f.close()
|
f.close()
|
||||||
# last_updates['stocks']['force'] = True
|
last_updates['stocks']['force'] = True
|
||||||
#last_updates['weather']['force'] = True
|
#last_updates['weather']['force'] = True
|
||||||
# f = open('csv/last_updates.json', 'w')
|
f = open('csv/last_updates.json', 'w')
|
||||||
# json.dump(last_updates, f)
|
json.dump(last_updates, f)
|
||||||
# f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user