fixed vars
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
+2
-1
@@ -154,7 +154,8 @@ def tube_index_updater(shared_dict):
|
|||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
shared_dict = Manager.dict()
|
manager = Manager()
|
||||||
|
shared_dict = manager.dict()
|
||||||
shared_dict["tube_index"] = None
|
shared_dict["tube_index"] = None
|
||||||
ti_updater_thread = Process(target=tube_index_updater, args=(shared_dict))
|
ti_updater_thread = Process(target=tube_index_updater, args=(shared_dict))
|
||||||
ti_updater_thread.start()
|
ti_updater_thread.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user