Browse Source

[fix] pep8

Adam Tauber 8 years ago
parent
commit
43ddbc60da
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      searx/engines/bing.py

+ 2
- 1
searx/engines/bing.py View File

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