From: Bernhard Tittelbach Date: Mon, 26 Jul 2010 23:13:59 +0000 (+0000) Subject: debugging X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=afc46eeb3d8e74c06d4b5a47e81e89548333a6fc;p=svn42.git debugging --- 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()