From d4e8582b2013f059d9e1ad77394134a91f2945d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 03:48:00 +0100 Subject: [PATCH] loop for ever 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 e39795b..906c2a4 100644 --- a/client/main.py +++ b/client/main.py @@ -104,4 +104,4 @@ if __name__ == "__main__": mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p5", 0) mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p6", 0) - mqttc.loop_start() \ No newline at end of file + mqttc.loop_forever() \ No newline at end of file