From 72d3d3620f4b1b4d48c113ad429e80534d4832b8 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 8 Aug 2023 17:18:43 +0800 Subject: [PATCH] added categories --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 16bfef2..0b4b855 100755 --- a/server.py +++ b/server.py @@ -373,7 +373,7 @@ def index(): market_settings = json.load(f) f.close() except: - market_settings = {"feature": "Gainers, Losers, Active", "speed": "medium", "speed2": "medium", "animation": "up", "percent": True, "point": True, "logos": True, "chart": False, "title": True, "lohivol": False, "gainers": {}, "losers": {}, "mostactive": {}} + market_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": {}} try: f = open('csv/scheduler.json','r')