From 659fbc68c6e64b2f90ddc3b0c456c72208e8b363 Mon Sep 17 00:00:00 2001 From: desecnd Date: Mon, 18 Dec 2023 12:09:09 +0100 Subject: [PATCH] Fix flake8 errors --- wifi_heat_mapper/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wifi_heat_mapper/misc.py b/wifi_heat_mapper/misc.py index 3bef72b..226b647 100644 --- a/wifi_heat_mapper/misc.py +++ b/wifi_heat_mapper/misc.py @@ -181,9 +181,9 @@ def process_iw(target_interface): results["channel"] = int(tmp[0]) results["channel_frequency"] = int(tmp[1].replace("(", "")) - try: + try: results["ssid"] = re.findall(r"(?<=ssid )(.*)", iw_info)[0] - except IndexError: + except IndexError: print("iw {0} info command cannot find required SSID. Trying iw {0} link".format(target_interface)) iw_link = get_application_output(