From a7ed438f94b5c7549c8dcbfd30c8e0dac3afc000 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 8 Aug 2023 17:54:40 +0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index f18093a..c6077cb 100755 --- a/server.py +++ b/server.py @@ -1415,7 +1415,7 @@ def save_market_settings(input_settings): current_settings = json.load(f) f.close() except: - current_settings = {"feature": "Gainers, Losers, Active", "speed": "medium", "speed2": "medium", "animation": "up", "percent": True, "point": true, "logos": True, "chart": False, "title": True, "lohivol": False, "categories": ["Top Gainers", "Top Losers", "Most Active"], "gainers": {}, "losers": {}, "mostactive": {}} + current_settings = {"feature": "Gainers, Losers, Active", "speed": "medium", "speed2": "medium", "animation": "up", "percent": True, "point": True, "logos": True, "chart": False, "title": True, "lohivol": False, "categories": ["Top Gainers", "Top Losers", "Most Active"], "gainers": {}, "losers": {}, "mostactive": {}} current_settings['speed'] = input_settings['speed'].lower() current_settings['speed2'] = input_settings['speed2'].lower()