logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 9ede9b955d1c892ed2c0ebeaa0b79d28bae75ac0
parent: 9b4d60972a140b7751aa2b06b04d8e22ad5340d9
Author: asciimoo <asciimoo@gmail.com>
Date:   Sun,  9 Feb 2014 11:35:52 +0100

[fix] language query string comparison

Diffstat:

searx/search.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)