added sleeper

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 03:09:30 +01:00
parent 13d35d6664
commit 38baa6e87d
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ def update_tube_index():
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
global result
result = cur.fetchall()
time.sleep(2)
if __name__ == "__main__":
flask_thread = Process(target=flask_api)