mirror of
https://github.com/searxng/searxng.git
synced 2025-08-29 14:47:36 +02:00
use logger.warning
logger.warn() is depricated. logger.warning is already being used in some files.
This commit is contained in:
parent
50cd7e2b03
commit
4900c091a6
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue