From c4f980a2f5b0c0eb69269569d77132e2d7e8cbb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 18 Feb 2024 01:06:03 +0100 Subject: [PATCH] removed enconding arg 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 f57ab99..cb94847 100644 --- a/server/app.py +++ b/server/app.py @@ -148,7 +148,7 @@ def tube_index_updater(shared_mem): cur.execute("SELECT mac_address, universe, dmx_address FROM tubes") tube_index = cur.fetchall() cur.close() - shared_mem.buf[:24] = bytes(str(tube_index)).encode() + shared_mem.buf[:24] = bytes(str(tube_index)) print("Updated tube index with values: "+str(tube_index)) except Exception as e: print(e)