From 709ffb472e5f39defa0cd7bcb3ff9003d3889687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 18 Feb 2024 01:09:48 +0100 Subject: [PATCH] test 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 33ba0df..d43f795 100644 --- a/server/app.py +++ b/server/app.py @@ -115,7 +115,7 @@ def mqtt_publisher(shared_mem): artnetBindIp = get_eth0_ip() artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) while True: - tube_index = bytes(shared_mem.buf[:24]).decode() + tube_index = bytes(shared_mem.buf[:24], encoding='utf8').decode() # print(tube_index) try: # Gets whatever the last Art-Net packet we received is