From 14a6614d6afe79501c1c370a03744299a360961c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 00:51:30 +0100 Subject: [PATCH] removed lamp power 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 2a6a83a..ef55408 100644 --- a/server/app.py +++ b/server/app.py @@ -55,7 +55,7 @@ def register_tube(mac_address): pass else: # Tube is new, insert into the database - cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address, lamp_power) VALUES (%s, %s, %s, %s)", + cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address) VALUES (%s, %s, %s)", (mac_address, 0, 1, 0)) # Universe 0, DMX Address 1, Lamp Power Off (False) cur.close()