From 39a6d2416395163f75d1da207c647c2e792bff20 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sat, 17 Aug 2024 08:10:36 +0100 Subject: [PATCH] whitespace removed --- deepface/commons/logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepface/commons/logger.py b/deepface/commons/logger.py index c42c950..f494eb8 100644 --- a/deepface/commons/logger.py +++ b/deepface/commons/logger.py @@ -8,7 +8,7 @@ class Logger: A Logger class for logging messages with a specific log level. The class follows the singleton design pattern, ensuring that only one - instance of the Logger is created. The parameters of the first instance + instance of the Logger is created. The parameters of the first instance are preserved across all instances. """ @@ -21,7 +21,7 @@ class Logger: def __init__(self): if not hasattr(self, "_singleton_initialized"): - self._singleton_initialized = True # to prevent multiple initializations + self._singleton_initialized = True # to prevent multiple initializations log_level = os.environ.get("DEEPFACE_LOG_LEVEL", str(logging.INFO)) try: self.log_level = int(log_level)