diff --git a/morss/feeds.py b/morss/feeds.py index b5231c3..bdb02e3 100644 --- a/morss/feeds.py +++ b/morss/feeds.py @@ -343,7 +343,7 @@ class ParserXML(ParserBase): match.attrib[key] = value else: - if len(match): + if match is not None and len(match): # atom stuff self._clean_node(match)