debug hotspot
This commit is contained in:
parent
601196b923
commit
c4d3a9ef4f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue