Skip to content

Commit

Permalink
condition always true
Browse files Browse the repository at this point in the history
  • Loading branch information
McLaynV committed Jan 11, 2025
1 parent 00c71f8 commit 97c73ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icalevents/icalevents.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def events(
content, start=start, end=end, tzinfo=tzinfo, sort=sort, strict=strict
)

if found_events is not None and sort is True:
if sort is True:
found_events.sort()

return found_events
Expand Down

0 comments on commit 97c73ba

Please sign in to comment.