From 4d52fd35b9ac8d65d8d2e737c0faa43b9249134c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 4 Oct 2023 22:08:11 +0200 Subject: [PATCH] Skip `None` responses in the RSS plugin. --- platypush/plugins/rss/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/rss/__init__.py b/platypush/plugins/rss/__init__.py index 4df6a2462..8f5d697f3 100644 --- a/platypush/plugins/rss/__init__.py +++ b/platypush/plugins/rss/__init__.py @@ -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():