Update server.py
This commit is contained in:
parent
0d0637eea1
commit
339523046d
@ -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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user