From 94724ec526f3ab2b144a430787147355d3a7609d Mon Sep 17 00:00:00 2001 From: ArtemIsmagilov Date: Thu, 13 Jun 2024 12:38:28 +0400 Subject: [PATCH] filters var linking in on line --- caldav/objects.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)