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"