fixed vars

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 01:56:45 +01:00
parent f1f9000705
commit 1e5a7dd980
1 changed files with 2 additions and 1 deletions

View File

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