Skip to content
Permalink
Browse files

Fix double-encode error (fixes #1799)

  • Loading branch information
frankdelange
frankdelange committed Jan 7, 2020
1 parent 22d05b3 commit db9d7d47bdce4e4e68e681748af01f84f993434c
Showing with 3 additions and 3 deletions.
  1. +3 −3 searx/engines/flickr_noapi.py
@@ -118,9 +118,9 @@ def response(resp):
'template': 'images.html'
}
try:
result['author'] = author.encode('utf-8')
result['title'] = title.encode('utf-8')
result['content'] = content.encode('utf-8')
result['author'] = author
result['title'] = title
result['content'] = content
except:
result['author'] = ''
result['title'] = ''

0 comments on commit db9d7d4

Please sign in to comment.
You can’t perform that action at this time.