From 50b358f6fc2af749489ef765492b3ebe76a19d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 23:37:21 +0100 Subject: [PATCH] fixed update 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 b494954..98bce5b 100644 --- a/server/app.py +++ b/server/app.py @@ -112,7 +112,7 @@ def connect_mqtt(): def mqtt_publisher(): def on_message(mqttc, obj, msg): global TUBE_INDEX - TUBE_INDEX = list(msg.payload.decode) + TUBE_INDEX = list(msg.payload.decode()) # Set Connecting Client ID mqtt_client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2)