From 13f928e8dd07bc6165261750af9fa4040c703849 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 1 Sep 2021 11:19:04 +0100 Subject: [PATCH] . --- app/network_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/network_utils.py b/app/network_utils.py index d1aa1e2..f9ff6bf 100644 --- a/app/network_utils.py +++ b/app/network_utils.py @@ -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)