.
This commit is contained in:
@@ -34,8 +34,8 @@ def scan_networks():
|
|||||||
a = 0
|
a = 0
|
||||||
scan = []
|
scan = []
|
||||||
for line in output.splitlines():
|
for line in output.splitlines():
|
||||||
connected = " "
|
|
||||||
if a == 0:
|
if a == 0:
|
||||||
|
connected = " "
|
||||||
if line.partition("ESSID:")[2].strip('"') != "":
|
if line.partition("ESSID:")[2].strip('"') != "":
|
||||||
a = 1
|
a = 1
|
||||||
ssid = line.partition("ESSID:")[2].strip('"')
|
ssid = line.partition("ESSID:")[2].strip('"')
|
||||||
|
|||||||
Reference in New Issue
Block a user