From dca81021bd0d1739372be963abf688fb36c8f5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 13:50:57 +0100 Subject: [PATCH] print(rgb_values_list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/main.py b/client/main.py index 83f4d17..d346085 100644 --- a/client/main.py +++ b/client/main.py @@ -63,9 +63,8 @@ def update_led_strip(rgb_values, pixel, strip): def on_message(mqttc, obj, msg): rgb_values_list = msg.payload.decode() - rgb_values_list = tuple(*ast.literal_eval(rgb_values_list)) - print(rgb_values_list[0]) + print(rgb_values_list) time.sleep(1)