1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[fix] pep8

This commit is contained in:
Adam Tauber 2016-11-14 16:09:16 +01:00
parent 16f2e346b3
commit 43ddbc60da

View File

@ -33,7 +33,8 @@ def request(query, params):
offset = (params['pageno'] - 1) * 10 + 1
if params['language'] != 'all':
query = u'language:{} {}'.format(params['language'].split('_')[0].upper(), query.decode('utf-8')).encode('utf-8')
query = u'language:{} {}'.format(params['language'].split('_')[0].upper(),
query.decode('utf-8')).encode('utf-8')
search_path = search_string.format(
query=urlencode({'q': query}),