on master help sign in
Fix double-encode error (fixes #1799)
commitdb9d7d47bdce4e4e68e681748af01f84f993434c authorfrankdelange <yetangitu-f@unternet.org> dateTue 7 Jan 2020, 21:41 (7 years ago) parent22d05b3
1 file changed+3−3
searx/engines/flickr_noapi.py+3−3
searx/engines/flickr_noapi.py+3−3
@@ -118,9 +118,9 @@ def response(resp):
118118 'template': 'images.html'
119119 }
120120 try:
121− result['author'] = author.encode('utf-8')
122− result['title'] = title.encode('utf-8')
123− result['content'] = content.encode('utf-8')
121+ result['author'] = author
122+ result['title'] = title
123+ result['content'] = content
124124 except:
125125 result['author'] = ''
126126 result['title'] = ''