This commit is contained in:
IrvingGao 2024-05-31 12:43:01 +08:00
parent da097b35d6
commit 23ba0136e6
1 changed files with 1 additions and 1 deletions

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():