This commit is contained in:
Rich
2021-09-01 11:19:04 +01:00
parent bedc8247f1
commit 13f928e8dd

View File

@@ -95,7 +95,7 @@ def parse_iwlist(iwlist_output, current_sid):
cells = []
# Remove Blank SSID's
cells = [cell for cell in cells if cell["SSID"] != "!***!"]
cells = [cell for cell in cells if cell["SSID"] != "!***!" and cell["SSID"][0] != "\x00" and cell["SSID"][0:4] != "\\x00"]
# Remove Blank SSID's
cells = sorted(cells, key=lambda k: k["Signal"], reverse=True)