feeds: add SyntaxError catch

master
pictuga 2020-04-20 16:15:15 +02:00
parent 2719bd6776
commit 325a373e3e
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def parse(data, url=None, mimetype=None, encoding=None):
try:
feed = parser(data, encoding=encoding)
except (ValueError):
except (ValueError, SyntaxError):
# parsing did not work
pass