fixed repeated items on row 2 of prof display web panel
This commit is contained in:
parent
af9d5b3ee9
commit
b0aa90e15e
@ -122,12 +122,14 @@ def index():
|
|||||||
currently_displaying = json.load(f)[1]
|
currently_displaying = json.load(f)[1]
|
||||||
f.close()
|
f.close()
|
||||||
not_displaying = [f for f in all_features if f not in currently_displaying[0]]
|
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:
|
elif professional:
|
||||||
f = open('csv/display_settings.json', 'r')
|
f = open('csv/display_settings.json', 'r')
|
||||||
currently_displaying = json.load(f)[1]
|
currently_displaying = json.load(f)[1]
|
||||||
f.close()
|
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:
|
with open('api_keys.txt', 'r') as f:
|
||||||
api_key2 = f.readlines()
|
api_key2 = f.readlines()
|
||||||
@ -222,6 +224,7 @@ def index():
|
|||||||
'system_info':system_info,
|
'system_info':system_info,
|
||||||
'currently_displaying': currently_displaying,
|
'currently_displaying': currently_displaying,
|
||||||
'not_displaying': not_displaying,
|
'not_displaying': not_displaying,
|
||||||
|
'not_displaying2': not_displaying2,
|
||||||
'stocks_settings': stocks_settings,
|
'stocks_settings': stocks_settings,
|
||||||
'commodities_settings': commodities_settings,
|
'commodities_settings': commodities_settings,
|
||||||
'crypto_settings': crypto_settings,
|
'crypto_settings': crypto_settings,
|
||||||
|
Loading…
Reference in New Issue
Block a user