fixed update

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 23:37:21 +01:00
parent 6c69200a44
commit 50b358f6fc
1 changed files with 1 additions and 1 deletions

View File

@ -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)