fixed queue empty exception
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
+1
-1
@@ -161,7 +161,7 @@ def tube_index_collector(ti_queue, ti_sender):
|
|||||||
ti_sender.send(item)
|
ti_sender.send(item)
|
||||||
item_old = item
|
item_old = item
|
||||||
print("new item")
|
print("new item")
|
||||||
except ti_queue.Empty:
|
except Queue.Empty:
|
||||||
print("emtpy")
|
print("emtpy")
|
||||||
if item_old is not None:
|
if item_old is not None:
|
||||||
ti_sender.send(item_old)
|
ti_sender.send(item_old)
|
||||||
|
|||||||
Reference in New Issue
Block a user