From 41aa327a11dca43415248a67b897174fbde7ff87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 16 Feb 2024 00:40:49 +0100 Subject: [PATCH] removed lseeper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/app.py b/server/app.py index b341c73..88167a7 100644 --- a/server/app.py +++ b/server/app.py @@ -130,9 +130,7 @@ def start_mqtt_publishers(): # Publish the DMX value to the MQTT topic mqtt_client.publish(topic, str(dmxPacket[i-1])) except KeyboardInterrupt: - break - - time.sleep(0.001) + break except Exception as e: print(e) except KeyboardInterrupt: