Skip None responses in the RSS plugin.

This commit is contained in:
Fabio Manganiello 2023-10-04 22:08:11 +02:00
parent 40d3ad1150
commit 4d52fd35b9
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -368,7 +368,7 @@ class RssPlugin(RunnablePlugin):
responses[url] = response['content']
responses = {
k: v for k, v in responses.items() if not isinstance(v, Exception)
k: v for k, v in responses.items() if v and not isinstance(v, Exception)
}
for url, response in responses.items():