diff options
author | frankdelange <yetangitu-f@unternet.org> | 2020-01-07 21:41:43 +0100 |
---|---|---|
committer | frankdelange <yetangitu-f@unternet.org> | 2020-01-07 21:41:43 +0100 |
commit | db9d7d47bdce4e4e68e681748af01f84f993434c (patch) | |
tree | e0bff2b30b18bf6666be1eff3f5fb7586797bd59 | |
parent | 22d05b3e596029738eba432e11015f8c03c85312 (diff) | |
download | searxng-db9d7d47bdce4e4e68e681748af01f84f993434c.tar.gz searxng-db9d7d47bdce4e4e68e681748af01f84f993434c.zip |
Fix double-encode error (fixes #1799)
-rw-r--r-- | searx/engines/flickr_noapi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/engines/flickr_noapi.py b/searx/engines/flickr_noapi.py index e1abb378f..c8ee34f7a 100644 --- a/searx/engines/flickr_noapi.py +++ b/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'] = '' |