summaryrefslogtreecommitdiff
path: root/searx/engines/gigablast.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/gigablast.py')
-rw-r--r--searx/engines/gigablast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py
index 5430eb3ba..e139842fa 100644
--- a/searx/engines/gigablast.py
+++ b/searx/engines/gigablast.py
@@ -48,7 +48,7 @@ def request(query, params):
if params['language'] == 'all':
language = 'xx'
else:
- language = params['language'][0:2]
+ language = params['language'].split('-')[0]
if params['safesearch'] >= 1:
safesearch = 1