aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/cron.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-12 09:53:18 +0000
committerGravatar jesopo2020-02-12 09:53:18 +0000
commitd7285360ff0c4eaceaaaf5969c51825324f41c27 (patch)
tree098fcfa5ca318d2e68f2957c75f45cf7d55ba811 /src/core_modules/cron.py
parentrelay.py should be relaying minimal formatted line (diff)
signature
_schedule_match_part takes an `i` param
Diffstat (limited to 'src/core_modules/cron.py')
-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: