From 03425f6fd87585fd792a2d2e8a18a57a181d7f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 13:22:49 +0100 Subject: [PATCH] list to string 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 3fe62e1..742e477 100644 --- a/server/app.py +++ b/server/app.py @@ -147,7 +147,7 @@ def start_mqtt_publishers(): p1_topic = "tube-"+str(row[0])+"/pixel_colors" # Publish pixel topic - mqtt_client.publish(p1_topic, list(str([p1_r, p1_g, p1_b]), str([p2_r, p2_g, p2_b]), str([p3_r, p3_g, p3_b]), str([p4_r, p4_g, p4_b]), str([p5_r, p5_g, p5_b]), str([p6_r, p6_g, p6_b]))) + mqtt_client.publish(p1_topic, str(list(str([p1_r, p1_g, p1_b]), str([p2_r, p2_g, p2_b]), str([p3_r, p3_g, p3_b]), str([p4_r, p4_g, p4_b]), str([p5_r, p5_g, p5_b]), str([p6_r, p6_g, p6_b])))) except KeyboardInterrupt: artNet.close() sys.exit()