This commit is contained in:
Rich
2021-07-08 14:17:07 +01:00
parent bf632b7ae1
commit 33ee8edb6c

View File

@@ -34,8 +34,8 @@ def scan_networks():
a = 0
scan = []
for line in output.splitlines():
connected = " "
if a == 0:
connected = " "
if line.partition("ESSID:")[2].strip('"') != "":
a = 1
ssid = line.partition("ESSID:")[2].strip('"')