Skip to content

Commit

Permalink
Merge pull request #148 from McLaynV/always-true
Browse files Browse the repository at this point in the history
Condition always true
  • Loading branch information
DerDreschner authored Jan 17, 2025
2 parents c1b0f88 + 97c73ba commit 8a65dc6
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 8a65dc6

Please sign in to comment.