This commit is contained in:
IrvingGao 2024-06-07 15:34:12 +08:00
parent 0f40754aa5
commit 533fb1b0ad
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ def load_saved_wifi():
with open('wifi_list.json', 'r') as f:
wifi_list = json.load(f)
return wifi_list
except FileNotFoundError:
except:
return []
def save_wifi(ssid, password):