Patch for the bug #13

This commit is contained in:
Félix Aime 2021-01-13 10:40:01 +01:00
parent da2d3c049b
commit a93d6c7d5f

View File

@ -109,7 +109,7 @@ class Network(object):
"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
for network in networks:
net = "network={\n"