Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging #121

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
writing
seesi8 committed Jul 19, 2023
commit 2c13374e16a42620e072ae1a7bd062c0a090025e
2 changes: 1 addition & 1 deletion libs/configuration_app/app.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ def set_wifi_credentials(ssid, password):
config_data = "\n".join(config_lines)

# Write the configuration to the wpa_supplicant file
with open("/etc/wpa_supplicant/wpa_supplicant.conf", "a") as wpafile:
with open("/etc/wpa_supplicant/wpa_supplicant.conf", "w") as wpafile:
wpafile.write(config_data)

t = Thread(target=os.system, args=("reboot",))