From bc1390cecab83d68fe197941a1f1d3149f33ee95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 16:05:22 +0100 Subject: [PATCH] set global var 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, 2 insertions(+) diff --git a/server/app.py b/server/app.py index 21067a3..a96a6b6 100644 --- a/server/app.py +++ b/server/app.py @@ -150,6 +150,8 @@ def mqtt_publisher(): sys.exit() if __name__ == "__main__": + global result + result = None tube_index_updater_thread = Process(target=update_tube_index) tube_index_updater_thread.start() flask_thread = Process(target=flask_api)