Browse Source

[fix] unicode search expression for bing

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

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

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