From d1dbd1df549807724bb098cf4551fcc997115832 Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 24 Aug 2016 17:45:10 +0200 Subject: [PATCH] Fix empty filter DAVdroid sends , which causes an exception. --- radicale/xmlutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index fcedf7d..902390c 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -809,7 +809,8 @@ def report(path, xml_request, collection): match = ( _comp_match if collection.get_meta("tag") == "VCALENDAR" else _prop_match) - if not all(match(item, filter_[0]) for filter_ in filters): + if not all(match(item, filter_[0]) for filter_ in filters + if filter_): continue found_props = []