[fix] wolframalpha unicode inputs

This commit is contained in:
Adam Tauber 2016-02-25 14:55:26 +01:00
parent 10947536aa
commit 79705450df
1 changed files with 1 additions and 1 deletions

View File

@ -90,6 +90,6 @@ def response(resp):
if not result_chunks: if not result_chunks:
return [] return []
return [{'url': resp.request.headers['Referer'], return [{'url': resp.request.headers['Referer'].decode('utf-8'),
'title': 'Wolframalpha', 'title': 'Wolframalpha',
'content': ''.join(result_chunks)}] 'content': ''.join(result_chunks)}]