Use correct RRULE
This commit is contained in:
parent
83f53cb5cb
commit
bfba027446
@ -208,8 +208,8 @@ def visit_time_ranges(vobject_item: vobject.base.Component, child_name: str,
|
|||||||
) -> Tuple[Iterable[date], bool]:
|
) -> Tuple[Iterable[date], bool]:
|
||||||
infinite = False
|
infinite = False
|
||||||
for rrule in child.contents.get("rrule", []):
|
for rrule in child.contents.get("rrule", []):
|
||||||
if (";UNTIL=" not in child.rrule.value.upper() and
|
if (";UNTIL=" not in rrule.value.upper() and
|
||||||
";COUNT=" not in child.rrule.value.upper()):
|
";COUNT=" not in rrule.value.upper()):
|
||||||
infinite = True
|
infinite = True
|
||||||
break
|
break
|
||||||
if infinite:
|
if infinite:
|
||||||
|
Loading…
Reference in New Issue
Block a user