diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-04 08:39:45 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-04 08:39:45 +0200 |
commit | df351937f40406eefd310ca4aadfd2ebf4168928 (patch) | |
tree | 0cdde23e50dc67a6082d1a929db37d71fe1cf3e3 /searx/webadapter.py | |
parent | 2f348216b0a26786dbf8ee180e8115c20cd2aafd (diff) | |
download | searxng-df351937f40406eefd310ca4aadfd2ebf4168928.tar.gz searxng-df351937f40406eefd310ca4aadfd2ebf4168928.zip |
[fix] typo in searx.webadapter.parse_lang
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/webadapter.py')
-rw-r--r-- | searx/webadapter.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |