From 3a777b36206cde6f07a43ae284e384882399e761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 8 Feb 2024 22:09:40 +0100 Subject: [PATCH] removed old loine 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, 2 deletions(-) diff --git a/server/app.py b/server/app.py index 0490caf..0ef3081 100644 --- a/server/app.py +++ b/server/app.py @@ -46,8 +46,6 @@ def register_tube(mac_address): # Tube is new, insert into the database cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address, lamp_power) VALUES (%s, %s, %s, %s)", (mac_address, 0, 1, 0)) # Universe 0, DMX Address 1, Lamp Power Off (False) - mysql.connection.commit() - cur.close() # Registration system route