From adc9421b58ef10624363f40930aae4b2b5de96be Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 30 Jan 2023 13:08:03 +0800 Subject: [PATCH] getting rid of localstorage for display format --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index b1852d4..f11fdf4 100755 --- a/server.py +++ b/server.py @@ -125,6 +125,7 @@ def index(): f = open('csv/display_settings.json', 'r') feature_settings = json.load(f) + feature_settings2 = feature_settings[0] f.close() @@ -253,7 +254,8 @@ def index(): templateData = { 'system_info':system_info, - 'currently_displaying': currently_displaying, + 'currently_displaying': currently_displaying, + 'feature_settings2': feature_settings2, 'not_displaying': not_displaying, 'not_displaying2': not_displaying2, 'stocks_settings': stocks_settings,