From 873bf80131671271221db15767f7bb2dea2d2cc8 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 5 Dec 2024 08:03:00 +0100 Subject: [PATCH] make flake8 happy --- radicale/item/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/item/filter.py b/radicale/item/filter.py index f69284ce..209bd1cb 100644 --- a/radicale/item/filter.py +++ b/radicale/item/filter.py @@ -274,7 +274,7 @@ def visit_time_ranges(vobject_item: vobject.base.Component, child_name: str, if hasattr(comp, "recurrence_id") and comp.recurrence_id.value: recurrences.append(comp.recurrence_id.value) if comp.rruleset: - if comp.rruleset._len == None: + if comp.rruleset._len is None: logger.warning("Ignore empty RRULESET in item at RECURRENCE-ID with value '%s' and UID '%s'", comp.recurrence_id.value, comp.uid.value) else: # Prevent possible infinite loop