feeds: fix an error when no match

master
pictuga 2018-11-11 15:31:46 +01:00
parent c2a6ea7cfe
commit c5d8b064ae
1 changed files with 1 additions and 1 deletions

View File

@ -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)