feeds: fix an error when no match
parent
c2a6ea7cfe
commit
c5d8b064ae
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue