Added wrapper classes for spell checker so new libraries can be added
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user