diff --git a/brother_ql_web/__init__.py b/brother_ql_web/__init__.py index de9521f..4cace1f 100644 --- a/brother_ql_web/__init__.py +++ b/brother_ql_web/__init__.py @@ -20,7 +20,7 @@ def warn(message: str, *args: Any, **kwargs: Any) -> None: return original_logger(message, *args, **kwargs) - logging.getLogger("brother_ql.devicedependent").warn = warn # type: ignore[assignment,method-assign] # noqa: E501 + logging.getLogger("brother_ql.devicedependent").warn = warn # type: ignore[assignment,method-assign,attr-defined] # noqa: E501 patch_deprecation_warning()