Update server.py

This commit is contained in:
Justin 2023-03-17 17:41:40 +08:00 committed by GitHub
parent ee69c98123
commit b38c3c779e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -906,7 +906,7 @@ def save_trade_settings(input_settings):
current_settings['point'] = input_settings['point'] current_settings['point'] = input_settings['point']
current_settings['logos'] = input_settings['logos'] current_settings['logos'] = input_settings['logos']
current_settings['title'] = input_settings['title'] current_settings['title'] = input_settings['title']
if input_settings['feature'] == 'Stocks': if input_settings['feature'] == 'Stocks' or input_settings['feature'] == 'Crypto':
current_settings['chart'] = input_settings['chart'] current_settings['chart'] = input_settings['chart']
current_settings = combine_dict(current_settings, input_settings['symbols'], 'symbols') current_settings = combine_dict(current_settings, input_settings['symbols'], 'symbols')