Fix unit tests
This commit is contained in:
parent
09253dce31
commit
d13ac065c7
8 changed files with 29 additions and 86 deletions
|
|
@ -128,7 +128,6 @@ class ExtendedLoopingCall(LoopingCall):
|
|||
if self.running and self.interval > 0:
|
||||
total_runtime = self.clock.seconds() - self.starttime
|
||||
interval = self.start_delay or self.interval
|
||||
print("next_call_time:", total_runtime, interval, self.clock.seconds(), self.starttime)
|
||||
return max(0, interval - (total_runtime % self.interval))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue