Update server.py
This commit is contained in:
parent
3083bf9458
commit
f435cbd9bb
@ -1862,10 +1862,7 @@ def save_globalstocks_settings(input_settings):
|
||||
current_settings['chart'] = input_settings['chart']
|
||||
current_settings['lohivol'] = input_settings['lohivol']
|
||||
current_settings['display_name'] = input_settings['display_name']
|
||||
try:
|
||||
current_settings = combine_dict(current_settings, input_settings['symbols'], 'symbols')
|
||||
except:
|
||||
pass
|
||||
current_settings = combine_dict(current_settings, input_settings['symbols'], 'symbols')
|
||||
try:
|
||||
f = open('csv/' + filename, 'w')
|
||||
json.dump(current_settings, f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user