From df351937f40406eefd310ca4aadfd2ebf4168928 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 4 Sep 2021 08:39:45 +0200 Subject: [PATCH] [fix] typo in searx.webadapter.parse_lang Signed-off-by: Markus Heiser --- searx/webadapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webadapter.py b/searx/webadapter.py index 59d1ffbe3..58cbf1d90 100644 --- a/searx/webadapter.py +++ b/searx/webadapter.py @@ -50,7 +50,7 @@ def parse_pageno(form: Dict[str, str]) -> int: def parse_lang(preferences: Preferences, form: Dict[str, str], raw_text_query: RawTextQuery) -> str: if is_locked('language'): - return preferences.get_value('langueage') + return preferences.get_value('language') # get language # set specific language if set on request, query or preferences # TODO support search with multible languages