Added a new module for performing the spelling correction. Needs testing

This commit is contained in:
2019-12-03 09:59:54 -06:00
parent 28e2d3df08
commit c74c6f6f5d
7 changed files with 146 additions and 24 deletions

View File

@@ -33,7 +33,7 @@ class sessionManagerController(object):
self.sessions = []
log.debug("Filling the session list...")
for i in os.listdir(paths.config_path()):
if os.path.isdir(os.path.join(paths.config_path(), i)):
if i != "dicts" and os.path.isdir(os.path.join(paths.config_path(), i)):
log.debug("Adding session %s" % (i,))
config_test = Configuration(os.path.join(paths.config_path(), i, "session.conf"))
name = config_test["vk"]["user"]