mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
NukiBridge.py, Doorlock.py: Remove print statements
Remove some debug print statements or convert it to log.debug() Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
parent
e6e5c271db
commit
530b324602
@ -128,7 +128,6 @@ class DoorHandler:
|
||||
self.run_hooks = cfg.boolean('RUN_HOOKS')
|
||||
|
||||
backend_type = cfg.str("BACKEND_TYPE", "backend")
|
||||
print(backend_type)
|
||||
if not backend_type:
|
||||
log.error("No backend configured")
|
||||
raise RuntimeError()
|
||||
|
@ -113,7 +113,7 @@ class NukiBridge(DoorlockBackend):
|
||||
continue
|
||||
|
||||
self.current_state = state
|
||||
print(state)
|
||||
log.debug(f"Nuki reported state: {state}")
|
||||
time.sleep(10)
|
||||
|
||||
def set_state(self, state):
|
||||
|
Loading…
Reference in New Issue
Block a user