Added wrapper classes for spell checker so new libraries can be added

This commit is contained in:
Veronica K. B. Olsen
2019-06-11 20:27:29 +02:00
parent 3c2864f161
commit c48b1deb8f
10 changed files with 113 additions and 21 deletions
+6
View File
@@ -35,6 +35,7 @@ class Config:
self.showGUI = True
self.debugGUI = False
self.debugInfo = False
self.spellTool = None
# Set Paths
self.confPath = None
@@ -124,6 +125,11 @@ class Config:
# If it does not exist, save a copy of the defaults
self.saveConfig()
if self.spellTool is None:
logger.warning("No spell check tool available")
else:
logger.debug("Using spell check tool '%s'" % self.spellTool)
return True
def loadConfig(self):