Some completeness in logger output

This commit is contained in:
Veronica K. B. Olsen
2020-06-10 17:19:52 +02:00
parent b88fc2f1ca
commit 29950e34a4
10 changed files with 25 additions and 12 deletions
+3
View File
@@ -222,6 +222,7 @@ class Config:
"""Initialise the config class. The manual setting of confPath
and dataPath is mainly intended for the test suite.
"""
logger.debug("Initialising Config ...")
if confPath is None:
confRoot = QStandardPaths.writableLocation(QStandardPaths.ConfigLocation)
self.confPath = path.join(path.abspath(confRoot), self.appHandle)
@@ -304,6 +305,8 @@ class Config:
if self.spellLanguage is None:
self.spellLanguage = "en"
logger.debug("Config initialisation complete")
return True
def loadConfig(self):