diff --git a/client/main.py b/client/main.py index ef034eb..4b614a2 100644 --- a/client/main.py +++ b/client/main.py @@ -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) diff --git a/server/app.py b/server/app.py index 70e8d0b..5c2eafe 100644 --- a/server/app.py +++ b/server/app.py @@ -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