From b65f5c346823bede0a9e9bbcb068612fe40b2f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 00:53:52 +0100 Subject: [PATCH] fixed lamp power problem 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 efcceaf..70e8d0b 100644 --- a/server/app.py +++ b/server/app.py @@ -56,7 +56,7 @@ def register_tube(mac_address): else: # Tube is new, insert into the database 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) + (mac_address, 0, 1)) # Universe 0, DMX Address 1 cur.close() # Registration system route