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