From b2342e54c2d62bd12bce82d0cab66f36be91a8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 18 Feb 2024 13:34:04 +0100 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app.py b/server/app.py index 0b29c15..aba484f 100644 --- a/server/app.py +++ b/server/app.py @@ -156,10 +156,10 @@ def tube_index_updater(ti_sender): if __name__ == "__main__": (ti_receiver,ti_sender) = Pipe(False) - ti_updater_thread = Process(target=tube_index_updater, args=(ti_sender)) + ti_updater_thread = Process(target=tube_index_updater, args=(ti_sender, )) ti_updater_thread.start() time.sleep(1) - publisher_thread = Process(target=mqtt_publisher, args=(ti_receiver)) + publisher_thread = Process(target=mqtt_publisher, args=(ti_receiver, )) publisher_thread.start() flask_thread = Process(target=flask_api) flask_thread.start()