diff --git a/client/main.py b/client/main.py index 12c1898..83f4d17 100644 --- a/client/main.py +++ b/client/main.py @@ -63,7 +63,7 @@ def update_led_strip(rgb_values, pixel, strip): def on_message(mqttc, obj, msg): rgb_values_list = msg.payload.decode() - rgb_values_list *ast.literal_eval(rgb_values_list) + rgb_values_list = tuple(*ast.literal_eval(rgb_values_list)) print(rgb_values_list[0])