_schedule_match_part doesn't take an array
This commit is contained in:
parent
4f9d51533f
commit
db5787a594
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
def _schedule_match_part(self, i, timestamp_part, schedule_part):
|
def _schedule_match_part(self, i, timestamp_part, schedule_part):
|
||||||
if "," in schedule_part:
|
if "," in schedule_part:
|
||||||
for schedule_part in schedule_part.split(","):
|
for schedule_part in schedule_part.split(","):
|
||||||
if self._schedule_match_part(
|
if self._schedule_match_part(i, timestamp_part, schedule_part):
|
||||||
i, [timestamp_part], [schedule_part]):
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
elif "/" in schedule_part:
|
elif "/" in schedule_part:
|
||||||
|
|
Loading…
Reference in a new issue