From dc27550ef5588fca9f229a9437396c8f8baed2ef Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 26 Jul 2023 12:18:26 +0800 Subject: [PATCH] don't display wifi psk --- server.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server.py b/server.py index 52a62b2..2a4b808 100755 --- a/server.py +++ b/server.py @@ -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,