Update server.py

This commit is contained in:
Neythen Treloar 2021-12-16 15:03:30 +00:00 committed by GitHub
parent 0d0637eea1
commit 339523046d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,8 +284,8 @@ def edit_wpa_sup(country, ssid, pwd):
# create new file from scratch
wpa_lines = []
wpa_lines.append('ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev')
wpa_lines.append('update_config=1')
wpa_lines.append('ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev\n')
wpa_lines.append('update_config=1\n')
wpa_lines.append('country={}\n'.format(country))