Update stockTicker.py

This commit is contained in:
Justin 2023-03-30 13:15:43 +08:00 committed by GitHub
parent cd1e45feb6
commit fe293edfae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1861,6 +1861,7 @@ class StockTicker():
except: except:
pass pass
try:
if all_stocks_settings['prepost']: if all_stocks_settings['prepost']:
try: try:
f = open('csv/prepost_settings.json', 'r') f = open('csv/prepost_settings.json', 'r')
@ -1868,6 +1869,8 @@ class StockTicker():
f.close() f.close()
except: except:
pass pass
except:
pass
stock_info = all_stocks_settings['symbols'] stock_info = all_stocks_settings['symbols']
symbols = list(stock_info.keys()) symbols = list(stock_info.keys())