diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-27 17:01:00 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-27 18:32:14 +0200 |
commit | ba8959ad7c18ce4165d29b7a472d845bd96f4735 (patch) | |
tree | 70da2e25a94588348fd5e66890a4a9fceb9e1ff2 /searx/webadapter.py | |
parent | 94c4cc126b16d4cd1653c410df63af4bc0a4e998 (diff) | |
download | searxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.tar.gz searxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.zip |
[fix] typos / reported by @kianmeng in searx PR-3366
[PR-3366] https://github.com/searx/searx/pull/3366
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/webadapter.py')
-rw-r--r-- | searx/webadapter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/webadapter.py b/searx/webadapter.py index 185cb568e..00dead2a9 100644 --- a/searx/webadapter.py +++ b/searx/webadapter.py @@ -54,7 +54,7 @@ def parse_lang(preferences: Preferences, form: Dict[str, str], raw_text_query: R return preferences.get_value('language') # get language # set specific language if set on request, query or preferences - # TODO support search with multible languages + # TODO support search with multiple languages if len(raw_text_query.languages): query_lang = raw_text_query.languages[-1] elif 'language' in form: @@ -223,7 +223,7 @@ def get_search_query_from_webapp( disabled_engines = preferences.engines.get_disabled() # parse query, if tags are set, which change - # the serch engine or search-language + # the search engine or search-language raw_text_query = RawTextQuery(form['q'], disabled_engines) # set query @@ -238,7 +238,7 @@ def get_search_query_from_webapp( if not is_locked('categories') and raw_text_query.specific: # if engines are calculated from query, - # set categories by using that informations + # set categories by using that information query_engineref_list = raw_text_query.enginerefs else: # otherwise, using defined categories to |