added categories

This commit is contained in:
Justin 2023-08-08 17:18:43 +08:00 committed by GitHub
parent b7926b7d9a
commit 72d3d3620f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')