debug some shit

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-17 00:58:45 +01:00
parent b65f5c3468
commit 19e37b2b88
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -50,6 +50,8 @@ def register_tube(mac_address):
cur.execute("SELECT * FROM tubes WHERE mac_address = %s", (mac_address,))
existing_tube = cur.fetchone()
print(existing_tube)
if existing_tube:
# Tube already exists, do nothing for now
pass