Skip to content

Commit

Permalink
Replace deprecated logger.warn with logger.warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 21, 2024
1 parent 714a3d5 commit 5bb39c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5bb39c4

Please sign in to comment.