logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 43ddbc60da114e3c764e6f7fa344e686964b66c2
parent: 16f2e346b3b5507034f6207e5d829cceaa99c046
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Mon, 14 Nov 2016 16:09:16 +0100

[fix] pep8

Diffstat:

Msearx/engines/bing.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/searx/engines/bing.py b/searx/engines/bing.py @@ -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}),