summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/bing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py
index 24cefaffa..540597162 100644
--- 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}),