_schedule_match_part takes an i param

This commit is contained in:
jesopo 2020-02-12 09:53:18 +00:00
parent 5b1dae1502
commit d7285360ff

View file

@ -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: