diff options
| author | 2020-02-14 00:01:40 +0000 | |
|---|---|---|
| committer | 2020-02-14 00:01:40 +0000 | |
| commit | db5787a5948a7f71f406b92aee687756a8a31600 (patch) | |
| tree | a99f6f346f86130861571c0c9a4b72728b02c4b8 /src | |
| parent | pass `server` on labeled-response events (diff) | |
| signature | ||
_schedule_match_part doesn't take an array
Diffstat (limited to 'src')
| -rw-r--r-- | src/core_modules/cron.py | 3 |
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: |
