parent
b65f5c3468
commit
19e37b2b88
|
@ -98,6 +98,7 @@ def loopCheckSettingUpdates():
|
|||
global universe
|
||||
global dmx_address
|
||||
universe, dmx_address = get_assigned_params()
|
||||
print(universe, dmx_address)
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
time.sleep(2)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue