Update server.py

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

View File

@ -286,7 +286,7 @@ def edit_wpa_sup(country, ssid, pwd):
wpa_lines = [] wpa_lines = []
wpa_lines.append('ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev') wpa_lines.append('ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev')
wpa_lines.append('update_config=1') wpa_lines.append('update_config=1')
wpa_lines.append('country={}\n'.format(country)') wpa_lines.append('country={}\n'.format(country))
wpa_lines.append('\n') wpa_lines.append('\n')