Fixed regression error in script force_repeat. Resolves #785.
This commit is contained in:
parent
61d591409a
commit
c393f70638
1 changed files with 5 additions and 4 deletions
|
|
@ -109,10 +109,11 @@ class ExtendedLoopingCall(LoopingCall):
|
||||||
"""
|
"""
|
||||||
assert self.running, ("Tried to fire an ExtendedLoopingCall "
|
assert self.running, ("Tried to fire an ExtendedLoopingCall "
|
||||||
"that was not running.")
|
"that was not running.")
|
||||||
if self.call is not None:
|
self.call.cancel()
|
||||||
self.call.cancel()
|
self.call = None
|
||||||
self.call.callback()
|
self.starttime = self.clock.seconds()
|
||||||
self()
|
self()
|
||||||
|
|
||||||
|
|
||||||
def next_call_time(self):
|
def next_call_time(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue