Improve debug strings in Config class

This commit is contained in:
Veronica Berglyd Olsen
2023-05-16 00:34:28 +02:00
parent e8c6e50e92
commit cdb501ae26
+2 -2
View File
@@ -430,10 +430,10 @@ class Config:
"""
logger.debug("Initialising Config ...")
if isinstance(confPath, (str, Path)):
logger.info("Setting config from alternative path: %s", confPath)
logger.info("Setting alternative config path: %s", confPath)
self._confPath = Path(confPath)
if isinstance(dataPath, (str, Path)):
logger.info("Setting data path from alternative path: %s", dataPath)
logger.info("Setting alternative data path: %s", dataPath)
self._dataPath = Path(dataPath)
logger.debug("Config Path: %s", self._confPath)