summaryrefslogtreecommitdiff
path: root/searxng_extra
diff options
context:
space:
mode:
Diffstat (limited to 'searxng_extra')
-rwxr-xr-xsearxng_extra/update/update_languages.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searxng_extra/update/update_languages.py b/searxng_extra/update/update_languages.py
index 631f197e4..92083f39f 100755
--- a/searxng_extra/update/update_languages.py
+++ b/searxng_extra/update/update_languages.py
@@ -224,9 +224,7 @@ def filter_language_list(all_languages):
if len(filtered_countries) > 1:
filtered_countries[lang] = _copy_lang_data(lang, None)
elif len(filtered_countries) == 1:
- # if there's only one country per language, it's not necessary to show country name
lang_country = next(iter(filtered_countries))
- filtered_countries[lang_country]['country_name'] = None
# if no country has enough engines try to get most likely country code from babel
if not filtered_countries: