parent
0f78218ab7
commit
72ea1dc7c5
|
@ -122,7 +122,7 @@ def update_tube_index():
|
||||||
TUBE_INDEX = cur.fetchall()
|
TUBE_INDEX = cur.fetchall()
|
||||||
cur.close()
|
cur.close()
|
||||||
print("Updated index: "+str(TUBE_INDEX))
|
print("Updated index: "+str(TUBE_INDEX))
|
||||||
time.sleep(10)
|
time.sleep(1)
|
||||||
|
|
||||||
def mqtt_publisher():
|
def mqtt_publisher():
|
||||||
global TUBE_INDEX
|
global TUBE_INDEX
|
||||||
|
|
Loading…
Reference in New Issue