diff --git a/server.py b/server.py index 17e3239..7f5e571 100755 --- a/server.py +++ b/server.py @@ -122,12 +122,14 @@ def index(): currently_displaying = json.load(f)[1] f.close() not_displaying = [f for f in all_features if f not in currently_displaying[0]] + not_displaying2 = [f for f in all_features if f not in currently_displaying[0]] elif professional: f = open('csv/display_settings.json', 'r') currently_displaying = json.load(f)[1] f.close() - not_displaying = [f for f in all_features if f not in currently_displaying[0] and f not in currently_displaying[1]] + not_displaying = [f for f in all_features if f not in currently_displaying[0]] + not_displaying2 = [f for f in all_features if f not in currently_displaying[1]] with open('api_keys.txt', 'r') as f: api_key2 = f.readlines() @@ -222,6 +224,7 @@ def index(): 'system_info':system_info, 'currently_displaying': currently_displaying, 'not_displaying': not_displaying, + 'not_displaying2': not_displaying2, 'stocks_settings': stocks_settings, 'commodities_settings': commodities_settings, 'crypto_settings': crypto_settings,