This commit is contained in:
IrvingGao committed 2024-05-31 12:43:01 +08:00
1 parent da097b35d6
commit 23ba0136e6
1 file changed
+1 -1
+1 -1
View File
@@ -129,7 +129,7 @@ def check_wifi_connection():
''' '''
network_error_light() network_error_light()
subprocess.Popen('sudo systemctl restart NetworkManager', shell=True) subprocess.Popen('sudo systemctl restart NetworkManager', shell=True)
time.sleep(1) time.sleep(5)
return False, None return False, None
def scan_wifi(): def scan_wifi():