mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
remove 'all' option from search languages
This commit is contained in:
@@ -165,7 +165,8 @@ def extract_text_from_dom(result, xpath):
|
||||
def request(query, params):
|
||||
offset = (params['pageno'] - 1) * 10
|
||||
|
||||
if params['language'] == 'all':
|
||||
# temporary fix until a way of supporting en-US is found
|
||||
if params['language'] == 'en-US':
|
||||
params['language'] = 'en-GB'
|
||||
|
||||
if params['language'][:2] == 'jv':
|
||||
|
||||
Reference in New Issue
Block a user