diff --git a/src/core_modules/cron.py b/src/core_modules/cron.py index 56a73206..40c21bd1 100644 --- a/src/core_modules/cron.py +++ b/src/core_modules/cron.py @@ -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):