From 3bc4077f3302bad701d6ab9316eeca7c4f8cb286 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 Closes #2961 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 59d1ffbe..58cbf1d9 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