From 8b0150baa7cdf1c4e0176b64ed38140183c3f9b0 Mon Sep 17 00:00:00 2001 From: Jason Burgett Date: Thu, 24 Jan 2019 09:53:27 -0600 Subject: [PATCH] Enabled acutal rebooting when Configuration Mode WPA settings changed --- libs/configuration_app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/configuration_app/app.py b/libs/configuration_app/app.py index 09134f9f..60c15605 100644 --- a/libs/configuration_app/app.py +++ b/libs/configuration_app/app.py @@ -56,7 +56,7 @@ def save_wpa_credentials(): def sleep_and_reboot_for_wpa(): time.sleep(2) - print("REBOOT") + os.system('reboot') t = Thread(target=sleep_and_reboot_for_wpa) t.start()