projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b17f03
)
little fix
author
Bernhard Tittelbach
<xro@realraum.at>
Tue, 5 Oct 2010 23:35:16 +0000
(23:35 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Tue, 5 Oct 2010 23:35:16 +0000
(23:35 +0000)
track-presence.py
patch
|
blob
|
history
diff --git
a/track-presence.py
b/track-presence.py
index
012b222
..
b6bb8f8
100755
(executable)
--- a/
track-presence.py
+++ b/
track-presence.py
@@
-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)