diff options
Diffstat (limited to 'searx/engines/startpage.py')
-rw-r--r-- | searx/engines/startpage.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py index 314b7b9a8..3e067597e 100644 --- a/searx/engines/startpage.py +++ b/searx/engines/startpage.py @@ -45,9 +45,8 @@ def request(query, params): params['data'] = {'query': query, 'startat': offset} - # set language if specified - if params['language'] != 'all': - params['data']['with_language'] = ('lang_' + params['language'].split('-')[0]) + # set language + params['data']['with_language'] = ('lang_' + params['language'].split('-')[0]) return params |