From 0350fb8b2c2a5eaf43decb88e0a3aa72efa62ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 16:03:31 +0100 Subject: [PATCH] added global result to publisher function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/app.py b/server/app.py index 472fdff..e77b914 100644 --- a/server/app.py +++ b/server/app.py @@ -119,6 +119,7 @@ def update_tube_index(): time.sleep(10) def start_mqtt_publishers(): + global result # Create and start a thread for each universe mqtt_client = connect_mqtt() artnetBindIp = get_eth0_ip()