parent
eb85f7ac04
commit
219be0b375
|
@ -119,11 +119,9 @@ def mqtt_publisher(ti_queue):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
print("new")
|
|
||||||
tube_index = ti_queue.get(block=False)
|
tube_index = ti_queue.get(block=False)
|
||||||
tube_index_old = tube_index
|
tube_index_old = tube_index
|
||||||
except Empty:
|
except Empty:
|
||||||
print("empty")
|
|
||||||
if tube_index_old is not None:
|
if tube_index_old is not None:
|
||||||
tube_index = tube_index_old
|
tube_index = tube_index_old
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue