From 1e5a7dd980e8fd2640e346264b87864d2a7e891d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 18 Feb 2024 01:56:45 +0100 Subject: [PATCH] fixed vars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index c51a2eb..4718dc6 100644 --- a/server/app.py +++ b/server/app.py @@ -154,7 +154,8 @@ def tube_index_updater(shared_dict): time.sleep(5) if __name__ == "__main__": - shared_dict = Manager.dict() + manager = Manager() + shared_dict = manager.dict() shared_dict["tube_index"] = None ti_updater_thread = Process(target=tube_index_updater, args=(shared_dict)) ti_updater_thread.start()