diff --git a/src/Timers.py b/src/Timers.py index 8f852816..7c17f2b5 100644 --- a/src/Timers.py +++ b/src/Timers.py @@ -81,7 +81,7 @@ class Timers(object): self.timers.append(timer) def next(self): - times = filter(None, [timer.time_left() for timer in self.timers]) + times = filter(None, [timer.time_left() for timer in self.get_timers()]) if not times: return None return max(min(times), 0)