From efce0668874ea32f8d625010dff11ffd79c8ce58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 03:31:19 +0100 Subject: [PATCH] added loop forever MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/main.py b/client/main.py index f8ec2de..bb23996 100644 --- a/client/main.py +++ b/client/main.py @@ -103,4 +103,6 @@ if __name__ == "__main__": mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p3", 0) mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p4", 0) mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p5", 0) - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p6", 0) \ No newline at end of file + mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p6", 0) + + mqttc.loop_forever() \ No newline at end of file