summaryrefslogtreecommitdiff
path: root/searx/engines/swisscows.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/swisscows.py')
-rw-r--r--searx/engines/swisscows.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/searx/engines/swisscows.py b/searx/engines/swisscows.py
index 00346a7d0..45e9d87a9 100644
--- a/searx/engines/swisscows.py
+++ b/searx/engines/swisscows.py
@@ -35,10 +35,7 @@ regex_img_url_remove_start = re.compile(b'^https?://i\.swisscows\.ch/\?link=')
# do search-request
def request(query, params):
- if params['language'] == 'all':
- ui_language = 'browser'
- region = 'browser'
- elif params['language'].split('-')[0] == 'no':
+ if params['language'].split('-')[0] == 'no':
region = 'nb-NO'
else:
region = params['language']