diff --git a/caldav/objects.py b/caldav/objects.py index 88f1403..ce09c4b 100644 --- a/caldav/objects.py +++ b/caldav/objects.py @@ -1342,8 +1342,7 @@ def build_search_xml_query( comp_filter = None - if not filters: - filters = [] + filters = filters or [] vNotCompleted = cdav.TextMatch("COMPLETED", negate=True) vNotCancelled = cdav.TextMatch("CANCELLED", negate=True)