parent
b3eddbe1ec
commit
eb85f7ac04
|
@ -120,12 +120,10 @@ def mqtt_publisher(ti_queue):
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
print("new")
|
print("new")
|
||||||
del tube_index_old
|
|
||||||
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")
|
print("empty")
|
||||||
del tube_index
|
|
||||||
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