Forgot to add __name__ in getLogger() don't know if it is harmless grabbing the root logger, added __name__ just to be safe

This commit is contained in:
Carlos Mesquita
2024-07-31 15:03:00 +01:00
parent 8e56a3228b
commit a931f06c47
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ class TrainingContentKnowledgeBase:
self._tips = None # self._read_json(path)
self._category_metadata = None
self._indices = None
self._logger = getLogger()
self._logger = getLogger(__name__)
@staticmethod
def _read_json(path: str) -> Dict[str, any]: