Do still print exception but only register on startup

This commit is contained in:
Thijs Raymakers 2025-05-29 00:04:48 +02:00
parent cc1a84a26b
commit 9cc9f65767
No known key found for this signature in database

View file

@ -65,7 +65,8 @@ def call():
# authorize guest after a certain amount of time
unifi.authorize_guest(id, 1)
except:
except Exception as e:
print(f"Exception: {e}")
sleep(5)
def call_phone(hostname, acc):