We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf7572 commit cbe94ebCopy full SHA for cbe94eb
connect_strongest_wifi/connect_strongest_wifi.py
@@ -46,7 +46,7 @@ def get_available_wifi():
46
47
else:
48
networks = []
49
- for i in range(1, len(wifidata)-1): # parsing SSIDs and signals
+ for i in range(1, len(wifidata) - 1): # parsing SSIDs and signals
50
temp = wifidata[i].split("\n")
51
ssid = temp[0].rstrip().split(" : ")[-1]
52
signal = int(temp[5].rstrip().split(" : ")[-1][:-1])
@@ -70,7 +70,7 @@ def main():
70
print("Wrong Choice Entered. Exiting...")
71
return False
72
73
- ssid = networks[int(choice)-1][0]
+ ssid = networks[int(choice) - 1][0]
74
75
# check if the chosen SSID is already connected
76
if ssid in subprocess.check_output("netsh wlan show interfaces").decode():
0 commit comments