From a93d6c7d5f9fbfac27161ff72a6889043dd8c5fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Wed, 13 Jan 2021 10:40:01 +0100 Subject: [PATCH] Patch for the bug #13 --- server/frontend/app/classes/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/frontend/app/classes/network.py b/server/frontend/app/classes/network.py index d32e0eb..584e10b 100644 --- a/server/frontend/app/classes/network.py +++ b/server/frontend/app/classes/network.py @@ -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"