mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 04:48:09 -06:00
Sessionmanager: Skip processing of dicts folder in user config. Needed for #208
This commit is contained in:
parent
6768bf85d5
commit
da4658c220
@ -37,10 +37,11 @@ class sessionManagerController(object):
|
||||
|
||||
def fill_list(self):
|
||||
sessionsList = []
|
||||
reserved_dirs = ["dicts"]
|
||||
log.debug("Filling the sessions list.")
|
||||
self.sessions = []
|
||||
for i in os.listdir(paths.config_path()):
|
||||
if os.path.isdir(paths.config_path(i)):
|
||||
if os.path.isdir(paths.config_path(i)) and i not in reserved_dirs:
|
||||
log.debug("Adding session %s" % (i,))
|
||||
strconfig = "%s/session.conf" % (paths.config_path(i))
|
||||
config_test = config_utils.load_config(strconfig)
|
||||
|
Loading…
Reference in New Issue
Block a user