aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-12 18:15:22 +0100
committerGravatar jesopo2018-10-12 18:15:22 +0100
commit0a93e763335cfbcae4230c8e307189746ef1dbbc (patch)
treefd4504aa8c605a7bc6c8c23ad5316fcc36d6dcf4 /src
parentActually pass timers to src/ModuleManager.py (diff)
signature
Use Timers.get_timers() instead of Timers.timers
Diffstat (limited to 'src')
-rw-r--r--src/Timers.py2
1 files changed, 1 insertions, 1 deletions
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)