Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1309 from akatsoulas/remove-unicode
Browse files Browse the repository at this point in the history
Remove unicode from feedparser.
  • Loading branch information
akatsoulas authored Feb 16, 2017
2 parents 720f68f + 957f08c commit 67b6508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remo/base/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 67b6508

Please sign in to comment.