From 18efdb1c706d16c9004596d96e62b4a10036f34c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 21 May 2018 09:47:50 +0200 Subject: [PATCH] Make sure the summary is always there --- platypush/backend/http/request/rss/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platypush/backend/http/request/rss/__init__.py b/platypush/backend/http/request/rss/__init__.py index 4c3f92549..85a9e5046 100644 --- a/platypush/backend/http/request/rss/__init__.py +++ b/platypush/backend/http/request/rss/__init__.py @@ -118,6 +118,8 @@ class RssUpdates(HttpRequest): logging.info('Processed new item from RSS feed <{}>: "{}"' .format(self.url, entry.title)) + entry.summary = entry.summary if hasattr(entry, 'summary') else None + if self.mercury_api_key: entry.content = self._parse_entry_content(entry.link) elif hasattr(entry, 'summary'):