aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-13 09:09:51 +0100
committerGravatar jesopo2018-10-13 09:09:51 +0100
commit33921a8912f25dbc44b05d86db35eb775c8b2407 (patch)
tree50b5d62d074f04435ec1b2334b24f82cf1dc2725
parenta Timer object can have a context yet not be a contextual timer (diff)
signature
Timers._add takes a "context" param
-rw-r--r--src/Timers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Timers.py b/src/Timers.py
index cfcff8bd..e80e3e26 100644
--- a/src/Timers.py
+++ b/src/Timers.py
@@ -53,7 +53,7 @@ class Timers(object):
def setup(self, timers):
for name, timer in timers:
id = name.split("timer-", 1)[1]
- self._add(timer["name"], timer["delay"], timer[
+ self._add(timer["name"], None, timer["delay"], timer[
"next-due"], id, False, timer["kwargs"])
def _persist(self, timer):