parent
13d35d6664
commit
38baa6e87d
|
@ -179,6 +179,7 @@ def update_tube_index():
|
||||||
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
|
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
|
||||||
global result
|
global result
|
||||||
result = cur.fetchall()
|
result = cur.fetchall()
|
||||||
|
time.sleep(2)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
flask_thread = Process(target=flask_api)
|
flask_thread = Process(target=flask_api)
|
||||||
|
|
Loading…
Reference in New Issue