diff --git a/server/app.py b/server/app.py index c914c62..1b86847 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"] = str(tube_index) + shared_dict["tube_index"] = [str(tube_index)] print("Updated tube index with values: "+str(tube_index)) except Exception as e: print(e)