Fixed regression error in script force_repeat. Resolves #785.

This commit is contained in:
Griatch 2015-08-20 22:14:04 +02:00
parent 61d591409a
commit c393f70638

View file

@ -109,11 +109,12 @@ class ExtendedLoopingCall(LoopingCall):
"""
assert self.running, ("Tried to fire an ExtendedLoopingCall "
"that was not running.")
if self.call is not None:
self.call.cancel()
self.call.callback()
self.call = None
self.starttime = self.clock.seconds()
self()
def next_call_time(self):
"""
Get the next call time. This also takes the eventual effect