From 38baa6e87d7532370e34713d135c1ca7d119168f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 03:09:30 +0100 Subject: [PATCH] added sleeper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 1 + 1 file changed, 1 insertion(+) 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)