parent
5e4479863b
commit
b65f5c3468
|
@ -56,7 +56,7 @@ def register_tube(mac_address):
|
||||||
else:
|
else:
|
||||||
# Tube is new, insert into the database
|
# Tube is new, insert into the database
|
||||||
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, 0)) # Universe 0, DMX Address 1, Lamp Power Off (False)
|
(mac_address, 0, 1)) # Universe 0, DMX Address 1
|
||||||
cur.close()
|
cur.close()
|
||||||
|
|
||||||
# Registration system route
|
# Registration system route
|
||||||
|
|
Loading…
Reference in New Issue