From afc46eeb3d8e74c06d4b5a47e81e89548333a6fc Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Mon, 26 Jul 2010 23:13:59 +0000 Subject: [PATCH] debugging --- track-presence.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/track-presence.py b/track-presence.py index 91b0123..c71be15 100755 --- a/track-presence.py +++ b/track-presence.py @@ -338,6 +338,8 @@ class StatusTracker: #(threading.Thread): self.lock.acquire() self.door_open_previously = self.door_open self.lock.release() + loggin.debug("doorClosed: open: %s, who: %s, how:%s, manual_switch: %s; physically_present: %s" % (self.door_open,self.door_who,how,self.door_manual_switch_used,self.door_manual_switch_used)); + def movementDetected(self): self.uwscfg.checkConfigUpdates() -- 1.7.10.4