little fix
[svn42.git] / track-presence.py
index 012b222..b6bb8f8 100755 (executable)
@@ -370,6 +370,8 @@ class StatusTracker: #(threading.Thread):
 
 
   def checkAgainIn(self, sec):
+    if sec <= 0.0:
+        return
     if self.timer_timeout < time.time():
       logging.debug("checkAgainIn: starting Timer with timeout %fs" % sec)
       self.timer=threading.Timer(sec, self.checkPresenceStateChangeAndNotify)