summaryrefslogtreecommitdiff
path: root/searx/engines/bing.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-11-14 16:09:16 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-11-14 16:09:16 +0100
commit43ddbc60da114e3c764e6f7fa344e686964b66c2 (patch)
tree2abc49a67527d8f290e5b9d1345a0e7944d89c89 /searx/engines/bing.py
parent16f2e346b3b5507034f6207e5d829cceaa99c046 (diff)
downloadsearxng-43ddbc60da114e3c764e6f7fa344e686964b66c2.tar.gz
searxng-43ddbc60da114e3c764e6f7fa344e686964b66c2.zip
[fix] pep8
Diffstat (limited to 'searx/engines/bing.py')
-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}),