debug some new shit

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 01:08:41 +01:00
parent ca5a386339
commit 355bb6c4a5
1 changed files with 2 additions and 0 deletions

View File

@ -56,7 +56,9 @@ def register_tube(mac_address):
if not existing_tube: if not existing_tube:
cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address) VALUES (%s, %s, %s)", cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address) VALUES (%s, %s, %s)",
(mac_address, 0, 1)) (mac_address, 0, 1))
print("executed")
else: else:
print("already exists")
pass pass
cur.close() cur.close()