getting rid of localstorage for display format

This commit is contained in:
Justin 2023-01-30 13:08:03 +08:00 committed by GitHub
parent e27161422e
commit adc9421b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,7 @@ def index():
f = open('csv/display_settings.json', 'r') f = open('csv/display_settings.json', 'r')
feature_settings = json.load(f) feature_settings = json.load(f)
feature_settings2 = feature_settings[0]
f.close() f.close()
@ -253,7 +254,8 @@ def index():
templateData = { templateData = {
'system_info':system_info, 'system_info':system_info,
'currently_displaying': currently_displaying, 'currently_displaying': currently_displaying,
'feature_settings2': feature_settings2,
'not_displaying': not_displaying, 'not_displaying': not_displaying,
'not_displaying2': not_displaying2, 'not_displaying2': not_displaying2,
'stocks_settings': stocks_settings, 'stocks_settings': stocks_settings,