From ecb6493bbf3eea77c0dee9417c6443605e4722c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 00:29:34 +0100 Subject: [PATCH] rempved {} from topic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 0895959..a7ea3ee 100644 --- a/server/app.py +++ b/server/app.py @@ -123,7 +123,7 @@ def start_mqtt_publishers(): #Checks to see if the current packet is for the specified DMX Universe dmxPacket = artNetPacket.data # Create MQTT topic based on the universe and channel - topic = {"PiXelTubes/"+str(artNetPacket.universe)} + topic = "PiXelTubes/"+str(artNetPacket.universe) # Publish the DMX value to the MQTT topic print(str(dmxPacket))