Patch for the bug #13

This commit is contained in:
Félix Aime committed 2021-01-13 10:40:01 +01:00
1 parent da2d3c049b
commit a93d6c7d5f
1 file changed
+1 -1
+1 -1
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"