feeds: fix an error when no match
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user