From 90231aeb1692dc41337cec59868443ac0cd24280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 18 Feb 2024 01:57:41 +0100 Subject: [PATCH] tube_index to string when in dict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index 4718dc6..c914c62 100644 --- a/server/app.py +++ b/server/app.py @@ -147,7 +147,7 @@ def tube_index_updater(shared_dict): cur.execute("SELECT mac_address, universe, dmx_address FROM tubes") tube_index = cur.fetchall() cur.close() - shared_dict["tube_index"] = tube_index + shared_dict["tube_index"] = str(tube_index) print("Updated tube index with values: "+str(tube_index)) except Exception as e: print(e)