Resolved issue113, avoiding a loophole in which the protection about @reloading a timed script could be circumvented.

This commit is contained in:
Griatch 2010-10-31 08:34:38 +00:00
parent 3f703efc2d
commit 7eaf3d221c
3 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ class ScriptClass(TypeClass):
def _start_task(self):
"start the task runner."
if self.interval:
if self.interval > 0:
#print "Starting task runner"
start_now = not self.start_delay
self.ndb.twisted_task = task.LoopingCall(self._step_task)