From c4d3a9ef4f6ae59e98da8bd944d2b902f9bc4f46 Mon Sep 17 00:00:00 2001 From: IrvingGao <1729854488@qq.com> Date: Sat, 25 May 2024 22:59:48 +0800 Subject: [PATCH] debug hotspot --- wifi_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi_manager.py b/wifi_manager.py index cf67bcd..1553c58 100644 --- a/wifi_manager.py +++ b/wifi_manager.py @@ -115,7 +115,7 @@ def scan_wifi(): # print("Wi-Fi名称:", ssid) # print("强度:", strength) - wifi_list.append({'ssid': wifi_name, 'signal': strength, 'mac': mac_address}) + wifi_list.append({'ssid': ssid, 'signal': strength, 'mac': mac_address}) if len(wifi_list) == 15: break # save wifi_list to file