From 23ba0136e6e7943a5441fd2fce5db9403110f9b8 Mon Sep 17 00:00:00 2001 From: IrvingGao <1729854488@qq.com> Date: Fri, 31 May 2024 12:43:01 +0800 Subject: [PATCH] update --- wifi_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi_manager.py b/wifi_manager.py index 19f38b7..1a7ddc4 100644 --- a/wifi_manager.py +++ b/wifi_manager.py @@ -129,7 +129,7 @@ def check_wifi_connection(): ''' network_error_light() subprocess.Popen('sudo systemctl restart NetworkManager', shell=True) - time.sleep(1) + time.sleep(5) return False, None def scan_wifi():