make flake8 happy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user