diff options
Diffstat (limited to 'searx/engines')
-rw-r--r-- | searx/engines/bing.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py index 9744b1800..4c037de85 100644 --- a/searx/engines/bing.py +++ b/searx/engines/bing.py @@ -145,9 +145,7 @@ def _fetch_supported_languages(resp): lang, nation = (setlang.split('-', maxsplit=1) + [None,])[:2] # fmt: skip # fmt: on - if not nation: - nation = lang.upper() - tag = lang + '-' + nation + tag = lang + '-' + nation if nation else lang lang_tags.add(tag) return list(lang_tags) |