Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
desecnd authored and Nischay-Pro committed Dec 26, 2023
1 parent a608421 commit 659fbc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wifi_heat_mapper/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 659fbc6

Please sign in to comment.