Merge branch 'master' of https://github.com/asciimoo/searx into filtron

This commit is contained in:
Markus Heiser 2020-01-08 19:22:24 +01:00
commit f20193155a

View File

@ -118,9 +118,9 @@ def response(resp):
'template': 'images.html' 'template': 'images.html'
} }
try: try:
result['author'] = author.encode('utf-8') result['author'] = author
result['title'] = title.encode('utf-8') result['title'] = title
result['content'] = content.encode('utf-8') result['content'] = content
except: except:
result['author'] = '' result['author'] = ''
result['title'] = '' result['title'] = ''