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] ipo_api_key = ipo_api[0]
except: except:
ipo_api_key = '' ipo_api_key = ''
try: try:
wifi_SSID = wifiline[5][6:].replace('"','') wifi_SSID = wifiline[5][6:].replace('"','')
except: except:
wifi_SSID = '' wifi_SSID = ''
try:
wifi_PSK = wifiline[6][5:].replace('"','')
except:
wifi_PSK = ''
try: try:
networks_list = networks networks_list = networks
except: except:
@ -431,7 +425,6 @@ def index():
'movie_api_key':movie_api_key, 'movie_api_key':movie_api_key,
'ipo_api_key':ipo_api_key, 'ipo_api_key':ipo_api_key,
'wifi_SSID':wifi_SSID, 'wifi_SSID':wifi_SSID,
'wifi_PSK':wifi_PSK,
'scheduler_settings':scheduler_settings, 'scheduler_settings':scheduler_settings,
'economic_settings':economic_settings, 'economic_settings':economic_settings,
'jokes_settings':jokes_settings, 'jokes_settings':jokes_settings,