mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Replace deprecated logger.warn with logger.warning
This commit is contained in:
parent
714a3d53a1
commit
5bb39c4f6f
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ def configure_settings(settings: Settings) -> Settings:
|
|||
]:
|
||||
if key in settings and not isinstance(settings[key], types):
|
||||
value = settings.pop(key)
|
||||
logger.warn(
|
||||
logger.warning(
|
||||
"Detected misconfigured %s (%s), falling back to the default (%s)",
|
||||
key,
|
||||
value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue