aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core_modules/cron.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core_modules/cron.py b/src/core_modules/cron.py
index bdb5b6c4..63b86b3f 100644
--- a/src/core_modules/cron.py
+++ b/src/core_modules/cron.py
@@ -46,8 +46,7 @@ class Module(ModuleManager.BaseModule):
def _schedule_match_part(self, i, timestamp_part, schedule_part):
if "," in schedule_part:
for schedule_part in schedule_part.split(","):
- if self._schedule_match_part(
- i, [timestamp_part], [schedule_part]):
+ if self._schedule_match_part(i, timestamp_part, schedule_part):
return True
elif "/" in schedule_part: