diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-11-14 16:09:16 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-11-14 16:09:16 +0100 |
commit | 43ddbc60da114e3c764e6f7fa344e686964b66c2 (patch) | |
tree | 2abc49a67527d8f290e5b9d1345a0e7944d89c89 | |
parent | 16f2e346b3b5507034f6207e5d829cceaa99c046 (diff) | |
download | searxng-43ddbc60da114e3c764e6f7fa344e686964b66c2.tar.gz searxng-43ddbc60da114e3c764e6f7fa344e686964b66c2.zip |
[fix] pep8
-rw-r--r-- | searx/engines/bing.py | 3 |
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}), |