From 355bb6c4a50adc5e0657b5183caad9ff152521c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 01:08:41 +0100 Subject: [PATCH] debug some new shit 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 insertions(+) diff --git a/server/app.py b/server/app.py index 76cad0d..7f7b0b4 100644 --- a/server/app.py +++ b/server/app.py @@ -56,7 +56,9 @@ def register_tube(mac_address): if not existing_tube: cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address) VALUES (%s, %s, %s)", (mac_address, 0, 1)) + print("executed") else: + print("already exists") pass cur.close()