diff options
| author | 2020-02-12 09:53:18 +0000 | |
|---|---|---|
| committer | 2020-02-12 09:53:18 +0000 | |
| commit | d7285360ff0c4eaceaaaf5969c51825324f41c27 (patch) | |
| tree | 098fcfa5ca318d2e68f2957c75f45cf7d55ba811 /src/core_modules | |
| parent | relay.py should be relaying minimal formatted line (diff) | |
| signature | ||
_schedule_match_part takes an `i` param
Diffstat (limited to 'src/core_modules')
| -rw-r--r-- | src/core_modules/cron.py | 3 |
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: |
