From 197187055520d1b4b95ff249fe6748a0cbcd7877 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:57:40 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- anta/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anta/logger.py b/anta/logger.py index 2fcd619e3..1bb245038 100644 --- a/anta/logger.py +++ b/anta/logger.py @@ -70,7 +70,7 @@ def setup_logging(level: LogLevel = Log.INFO, file: Path | None = None) -> None: logging.getLogger("httpx").setLevel(logging.WARNING) # Add RichHandler for stdout if not already present - if root.hasHandlers(): + if root.hasHandlers(): logger.handlers = [] root.