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()