diff --git a/server/app.py b/server/app.py index 4d0a2d5..fb40710 100644 --- a/server/app.py +++ b/server/app.py @@ -116,12 +116,11 @@ def mqtt_publisher(ti_receiver): artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) while True: try: - tube_index = ti_receiver.recv() + tube_index = tuple(ti_receiver.recv()) except: tube_index = tube_index_old tube_index_old = None - print(tube_index) try: # Gets whatever the last Art-Net packet we received is artNetPacket = artNet.readPacket()