From e2c07949de9e04d0246d5bbc4bd7864691237bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 02:55:32 +0100 Subject: [PATCH] I am dumb. fixed content of var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/app.py b/server/app.py index 2f91ae2..4f31e63 100644 --- a/server/app.py +++ b/server/app.py @@ -127,8 +127,7 @@ def start_mqtt_publishers(): cur.execute("SELECT mac_address, universe, dmx_address FROM tubes") result = cur.fetchall() for row in result: - print(result) - dmx_address = int(result[2]) + dmx_address = int(row[2]) if artNetPacket.universe == int(row[1]): #Define RGB values per pixel p1_r = dmxPacket[dmx_address+0+0]