[led] check know wifi

This commit is contained in:
IrvingGao 2024-06-13 18:54:01 +08:00
parent e6c17f9479
commit 86ef89c3dd
1 changed files with 0 additions and 1 deletions

View File

@ -424,7 +424,6 @@ def submit():
connected, wifi_ssid = check_wifi_connection() connected, wifi_ssid = check_wifi_connection()
if not connected: if not connected:
logging.info(f"Wi-Fi连接失败。") logging.info(f"Wi-Fi连接失败。")
wifi_list = scan_wifi()
start_hotspot() start_hotspot()
else: else:
save_wifi(ssid, password) # 保存连接成功的Wi-Fi信息 save_wifi(ssid, password) # 保存连接成功的Wi-Fi信息