From db5787a5948a7f71f406b92aee687756a8a31600 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 14 Feb 2020 00:01:40 +0000 Subject: _schedule_match_part doesn't take an array --- src/core_modules/cron.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core_modules/cron.py') 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: -- cgit v1.3.1-10-gc9f91