From ce959338872a984dbf507baa13b47cf7859b97ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 16 Feb 2024 19:24:17 +0100 Subject: [PATCH] improved if wifi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.py b/client/main.py index 05e05b1..5cda4ca 100644 --- a/client/main.py +++ b/client/main.py @@ -83,7 +83,7 @@ def loopCheckSettingUpdates(): if __name__ == "__main__": # Connect to Wi-Fi - if is_connected_to_wifi(): + if is_connected_to_wifi() is not None: # Register/reauthenticate the tube register_tube() time.sleep(1)