summaryrefslogtreecommitdiff
path: root/searx/locales.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/locales.py')
-rw-r--r--searx/locales.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/locales.py b/searx/locales.py
index c765eb198..12066f3d7 100644
--- a/searx/locales.py
+++ b/searx/locales.py
@@ -460,7 +460,7 @@ def build_engine_locales(tag_list: List[str]):
for tag in tag_list:
locale = get_locale(tag)
if locale is None:
- logger.warn("build_engine_locales: skip locale tag %s / unknown by babel", tag)
+ logger.warning("build_engine_locales: skip locale tag %s / unknown by babel", tag)
continue
if locale.territory:
engine_locales[region_tag(locale)] = tag