[scan] wifi

This commit is contained in:
IrvingGao committed 2024-06-13 16:29:39 +08:00
1 parent f9b644b88f
commit ca91fdd9f5
1 file changed
+2
+2
View File
@@ -29,6 +29,8 @@ def scan_wifi():
# 提取MAC地址
mac_address = columns[0]
if columns[0] == '*': # 已连接的WiFi 第一位为*
mac_address = columns[1]
# 提取Wi-Fi名称
wifi_name = []