diff --git a/server/app.py b/server/app.py index b7f7659..c59714d 100644 --- a/server/app.py +++ b/server/app.py @@ -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)