.
This commit is contained in:
@@ -13,7 +13,12 @@ def search_results():
|
|||||||
results = []
|
results = []
|
||||||
scan = ["rpi:100: :WPA2", "Home:94:*:WPA2", "HOME2:48: :WPA2", "BT:23: :"]
|
scan = ["rpi:100: :WPA2", "Home:94:*:WPA2", "HOME2:48: :WPA2", "BT:23: :"]
|
||||||
for item in scan:
|
for item in scan:
|
||||||
erm = Network(item.split(":")[0], item.split(":")[1], item.split(":")[2], item.split(":")[3])
|
erm = Network(
|
||||||
|
item.split(":")[0],
|
||||||
|
item.split(":")[1],
|
||||||
|
"Yes" if item.split(":")[2] == "*" else "",
|
||||||
|
"None" if item.split(":")[3].strip() == "" else "WPA2",
|
||||||
|
)
|
||||||
results.append(erm)
|
results.append(erm)
|
||||||
|
|
||||||
table = Networks(results)
|
table = Networks(results)
|
||||||
|
|||||||
Reference in New Issue
Block a user