Skip to content

Commit cbe94eb

Browse files
author
Subhasree Bose
committed
flake8 indentation fixed
1 parent fbf7572 commit cbe94eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connect_strongest_wifi/connect_strongest_wifi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_available_wifi():
4646

4747
else:
4848
networks = []
49-
for i in range(1, len(wifidata)-1): # parsing SSIDs and signals
49+
for i in range(1, len(wifidata) - 1): # parsing SSIDs and signals
5050
temp = wifidata[i].split("\n")
5151
ssid = temp[0].rstrip().split(" : ")[-1]
5252
signal = int(temp[5].rstrip().split(" : ")[-1][:-1])
@@ -70,7 +70,7 @@ def main():
7070
print("Wrong Choice Entered. Exiting...")
7171
return False
7272

73-
ssid = networks[int(choice)-1][0]
73+
ssid = networks[int(choice) - 1][0]
7474

7575
# check if the chosen SSID is already connected
7676
if ssid in subprocess.check_output("netsh wlan show interfaces").decode():

0 commit comments

Comments
 (0)