tube_index to string when in dict

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-18 01:57:41 +01:00
parent 1e5a7dd980
commit 90231aeb16
+1 -1
View File
@@ -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)