summaryrefslogtreecommitdiff
path: root/searx/query.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/query.py')
-rw-r--r--searx/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/query.py b/searx/query.py
index 9f711e982..cd2b3f423 100644
--- a/searx/query.py
+++ b/searx/query.py
@@ -77,7 +77,7 @@ class Query(object):
if lang == lang_id\
or lang_id.startswith(lang)\
or lang == lang_name\
- or lang == country:
+ or lang.replace('_', ' ') == country:
parse_next = True
self.languages.append(lang)
break