From 02ced5fef200aa76017e916e9e71fd1fe782429b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 23:15:40 +0100 Subject: [PATCH] added list conversion 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 e1a1a0b..1da6cd8 100644 --- a/server/app.py +++ b/server/app.py @@ -114,7 +114,7 @@ def mqtt_publisher(): print(msg.payload.decode) print(type(msg.payload.decode)) global TUBE_INDEX - TUBE_INDEX = msg.payload + TUBE_INDEX = list(msg.payload.decode) # Set Connecting Client ID mqtt_client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2)