removed old loine

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-08 22:09:40 +01:00
parent cfd84553bb
commit 3a777b3620
1 changed files with 0 additions and 2 deletions

View File

@ -46,8 +46,6 @@ def register_tube(mac_address):
# Tube is new, insert into the database # Tube is new, insert into the database
cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address, lamp_power) VALUES (%s, %s, %s, %s)", 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) (mac_address, 0, 1, 0)) # Universe 0, DMX Address 1, Lamp Power Off (False)
mysql.connection.commit()
cur.close() cur.close()
# Registration system route # Registration system route