Timers._add takes a "context" param
This commit is contained in:
parent
64cc1bf16c
commit
33921a8912
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue