diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2023-05-19 19:58:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-19 19:58:47 +0200 |
| commit | 7b2f1079f67e93e6669e0b8c306f499048a61687 (patch) | |
| tree | 233d96215b4dd01f2026971f87257be7761d84f9 /searx/locales.py | |
| parent | 50cd7e2b03dbce50a41d39aad9521dab6d2ff246 (diff) | |
| parent | 4900c091a6c88d58780d1ce8c4def0bd04c61270 (diff) | |
Merge pull request #2448 from Pankwings/logger_warning
use logger.warning
Diffstat (limited to 'searx/locales.py')
| -rw-r--r-- | searx/locales.py | 2 |
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 |