flake8 warnings fix

This commit is contained in:
Gokul Mohanarangan
2023-07-11 14:06:20 +05:30
parent 88af112131
commit d962ff1712
10 changed files with 122 additions and 70 deletions

View File

@@ -1,4 +1,4 @@
from loguru import logger
import loguru
class SingletonLogger:
@@ -11,7 +11,7 @@ class SingletonLogger:
:return: SingletonLogger instance
"""
if not SingletonLogger.__instance:
SingletonLogger.__instance = logger
SingletonLogger.__instance = loguru.logger
return SingletonLogger.__instance