don't display wifi psk

This commit is contained in:
Justin 2023-07-26 12:18:26 +08:00 committed by GitHub
parent cc5ee3055a
commit dc27550ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,16 +388,10 @@ def index():
ipo_api_key = ipo_api[0]
except:
ipo_api_key = ''
try:
wifi_SSID = wifiline[5][6:].replace('"','')
except:
wifi_SSID = ''
try:
wifi_PSK = wifiline[6][5:].replace('"','')
except:
wifi_PSK = ''
try:
networks_list = networks
except:
@ -431,7 +425,6 @@ def index():
'movie_api_key':movie_api_key,
'ipo_api_key':ipo_api_key,
'wifi_SSID':wifi_SSID,
'wifi_PSK':wifi_PSK,
'scheduler_settings':scheduler_settings,
'economic_settings':economic_settings,
'jokes_settings':jokes_settings,