From 78e0ffcb0a4fb467e227fd2443c177620ba9c397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 02:56:48 +0100 Subject: [PATCH] fixed lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/app.py b/server/app.py index 4f31e63..4676f65 100644 --- a/server/app.py +++ b/server/app.py @@ -163,12 +163,12 @@ def start_mqtt_publishers(): p6_topic = "tube-"+str(result[0])+"/p6" # Publish pixel topic - mqtt_client.publish(p1_topic, list(p1_r, p1_g, p1_b)) - mqtt_client.publish(p2_topic, list(p2_r, p2_g, p2_b)) - mqtt_client.publish(p3_topic, list(p3_r, p3_g, p3_b)) - mqtt_client.publish(p4_topic, list(p4_r, p4_g, p4_b)) - mqtt_client.publish(p5_topic, list(p5_r, p5_g, p5_b)) - mqtt_client.publish(p6_topic, list(p6_r, p6_g, p6_b)) + mqtt_client.publish(p1_topic, [p1_r, p1_g, p1_b]) + mqtt_client.publish(p2_topic, [p2_r, p2_g, p2_b]) + mqtt_client.publish(p3_topic, [p3_r, p3_g, p3_b]) + mqtt_client.publish(p4_topic, [p4_r, p4_g, p4_b]) + mqtt_client.publish(p5_topic, [p5_r, p5_g, p5_b]) + mqtt_client.publish(p6_topic, [p6_r, p6_g, p6_b]) except KeyboardInterrupt: artNet.close()