Browse Source

[fix] typo in searx.webadapter.parse_lang

Closes #2961

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
pull/2981/head
Markus Heiser 2 months ago
committed by Noémi Ványi
parent
commit
3bc4077f33
  1. 2
      searx/webadapter.py

2
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

Loading…
Cancel
Save