parent
5bb1f9865f
commit
9dc593bfdf
|
@ -179,6 +179,7 @@ def start_mqtt_publishers():
|
|||
def update_tube_index():
|
||||
while True:
|
||||
time.sleep(2)
|
||||
cur = db.cursor()
|
||||
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
|
||||
global result
|
||||
result = cur.fetchall()
|
||||
|
|
Loading…
Reference in New Issue