summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index 79a82f0b1..f71adb2aa 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -78,7 +78,7 @@ class Search(object):
query_parts = self.query.split()
modified = False
if query_parts[0].startswith(':'):
- lang = query_parts[0][1:]
+ lang = query_parts[0][1:].lower()
for lc in language_codes:
lang_id, lang_name, country = map(str.lower, lc)