diff --git a/server/app.py b/server/app.py index 839e65c..201d750 100644 --- a/server/app.py +++ b/server/app.py @@ -130,7 +130,9 @@ def start_mqtt_publishers(): # Publish the DMX value to the MQTT topic mqtt_client.publish(topic, str(dmxPacket[i-1])) except KeyboardInterrupt: - break + break + + time.sleep(0.0001) except Exception as e: print(e) except KeyboardInterrupt: