Update server.py

This commit is contained in:
Neythen Treloar 2021-12-16 14:41:39 +00:00 committed by GitHub
parent e4e6209198
commit ae9ee1b751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,7 +279,7 @@ def edit_wpa_sup(country, ssid, pwd):
current_wpa.close()
#remove this line to append to end instead of overwriting all networks
wpa_lines = wpa_lines[0:4]
wpa_lines = wpa_lines[0:3]
print(wpa_lines)
wpa_lines.append('\n')