Patch for the bug #13
This commit is contained in:
parent
da2d3c049b
commit
a93d6c7d5f
@ -109,7 +109,7 @@ class Network(object):
|
|||||||
"key_mgmt": "WPA-PSK"
|
"key_mgmt": "WPA-PSK"
|
||||||
})
|
})
|
||||||
|
|
||||||
with open("/etc/wpa_supplicant/wpa_supplicant.conf", "r+") as f:
|
with open("/etc/wpa_supplicant/wpa_supplicant.conf", "w+") as f:
|
||||||
content = header
|
content = header
|
||||||
for network in networks:
|
for network in networks:
|
||||||
net = "network={\n"
|
net = "network={\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user