fixed queue empty exception

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-19 16:05:30 +01:00
parent 213459a468
commit 2e474b171d
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ def tube_index_collector(ti_queue, ti_sender):
ti_sender.send(item)
item_old = item
print("new item")
except ti_queue.Empty:
except Queue.Empty:
print("emtpy")
if item_old is not None:
ti_sender.send(item_old)