more brackets in blob of math, just in case
This commit is contained in:
parent
2084285480
commit
e58e5e0691
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class Module(ModuleManager.BaseModule):
|
|||
def on_load(self):
|
||||
now = datetime.datetime.utcnow()
|
||||
next_minute = now.replace(minute=now.minute+1, second=0, microsecond=0)
|
||||
until = time.time()+(next_minute-now).total_seconds()
|
||||
until = time.time()+((next_minute-now).total_seconds())
|
||||
self.timers.add("cron", self._minute, 60, until)
|
||||
|
||||
def _minute(self, timer):
|
||||
|
|
Loading…
Reference in a new issue