From 97c73babcb7a4657207e3d92958d51e0f718f838 Mon Sep 17 00:00:00 2001 From: McLayn Date: Sat, 11 Jan 2025 23:10:31 +0100 Subject: [PATCH] condition always true --- icalevents/icalevents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icalevents/icalevents.py b/icalevents/icalevents.py index 0c12fb4..fc05962 100644 --- a/icalevents/icalevents.py +++ b/icalevents/icalevents.py @@ -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