From 8398073334b902bcda92626fb046accc7eb74198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 17 Jan 2023 17:05:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20logger.warn=20->=20logger.warnin?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/settings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/settings/__init__.py b/src/octoprint/settings/__init__.py index f87740f46..96e4829d0 100644 --- a/src/octoprint/settings/__init__.py +++ b/src/octoprint/settings/__init__.py @@ -1608,7 +1608,7 @@ class Settings: is_deprecated = self._is_deprecated_path(path) if is_deprecated: - self._logger.warn( + self._logger.warning( f"DeprecationWarning: Detected access to deprecated settings path {path}, returned value is derived from compatibility overlay. {is_deprecated if isinstance(is_deprecated, str) else ''}" ) config = {}