Reverted bugged title decode

This commit is contained in:
Fabio Manganiello 2018-10-20 14:49:21 +02:00
parent 2fd7ba003b
commit 7490529ca2

View file

@ -132,7 +132,7 @@ class RssUpdates(HttpRequest):
if latest_update is None \ if latest_update is None \
or entry_timestamp > latest_update: or entry_timestamp > latest_update:
self.logger.info('Processed new item from RSS feed <{}>: "{}"' self.logger.info('Processed new item from RSS feed <{}>: "{}"'
.format(self.url, entry.title.decode('utf-8'))) .format(self.url, entry.title))
entry.summary = entry.summary if hasattr(entry, 'summary') else None entry.summary = entry.summary if hasattr(entry, 'summary') else None