debug hotspot

This commit is contained in:
IrvingGao 2024-05-25 22:59:48 +08:00
parent 601196b923
commit c4d3a9ef4f
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def scan_wifi():
# print("Wi-Fi名称:", ssid) # print("Wi-Fi名称:", ssid)
# print("强度:", strength) # 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: if len(wifi_list) == 15:
break break
# save wifi_list to file # save wifi_list to file