From 957f08c5705be5a2a38f3810da7be779c53bde3a Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Thu, 16 Feb 2017 15:47:25 +0200 Subject: [PATCH] Remove unicode from feedparser. --- remo/base/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remo/base/views.py b/remo/base/views.py index c867afdff..993351be8 100644 --- a/remo/base/views.py +++ b/remo/base/views.py @@ -55,7 +55,7 @@ def main(request): else: cache.set('planet', planet_feed, 60 * 60 * 8) - results = feedparser.parse(unicode(planet_feed)).entries[:3] + results = feedparser.parse(planet_feed).entries[:3] return render(request, 'main.jinja', {'featuredrep': featured_rep, 'planet_entries': results})