parent
c79575203f
commit
213459a468
|
@ -159,7 +159,10 @@ def tube_index_collector(ti_queue, ti_sender):
|
||||||
try:
|
try:
|
||||||
item = ti_queue.get(block=False)
|
item = ti_queue.get(block=False)
|
||||||
ti_sender.send(item)
|
ti_sender.send(item)
|
||||||
|
item_old = item
|
||||||
|
print("new item")
|
||||||
except ti_queue.Empty:
|
except ti_queue.Empty:
|
||||||
|
print("emtpy")
|
||||||
if item_old is not None:
|
if item_old is not None:
|
||||||
ti_sender.send(item_old)
|
ti_sender.send(item_old)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue