Skip to content

Commit

Permalink
Fix weekday type
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Oct 21, 2023
1 parent 09cd0c2 commit 0e328d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ical/types/recur.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __str__(self) -> str:
return f"{self.occurrence or ''}{self.weekday}"


def as_rrule_weekday(self) -> weekday:
def as_rrule_weekday(self) -> rrule.weekday:
"""Convert the occurrence to a weekday value."""
wd = RRULE_WEEKDAY[self.weekday]
if self.occurrence is None:
Expand Down

0 comments on commit 0e328d4

Please sign in to comment.