diff --git a/wifi_manager.py b/wifi_manager.py index 5e92cc3..a2aa083 100644 --- a/wifi_manager.py +++ b/wifi_manager.py @@ -169,6 +169,7 @@ def check_wifi_connection(): sudo systemctl restart NetworkManager ''' network_error_light_1() + logging.info(f"{datetime.datetime.now()}: Wi-Fi NetworkManager Error: restart NetworkManager.") subprocess.Popen('sudo systemctl restart NetworkManager', shell=True) # subprocess.run(['sudo', 'systemctl', 'restart', 'NetworkManager'], check=True) time.sleep(2)