aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_modules')
-rw-r--r--src/core_modules/cron.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_modules/cron.py b/src/core_modules/cron.py
index f14186c8..bdb5b6c4 100644
--- a/src/core_modules/cron.py
+++ b/src/core_modules/cron.py
@@ -46,7 +46,8 @@ 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([timestamp_part], [schedule_part]):
+ if self._schedule_match_part(
+ i, [timestamp_part], [schedule_part]):
return True
elif "/" in schedule_part: