Add cfg folder for keyconfigs (and possibly others later) to be imported after everything else.

Also remove .pyc file when removing keyconfigs.
This commit is contained in:
2010-01-28 21:52:07 +00:00
parent 462e7cdb47
commit 21b7556bf7
2 changed files with 13 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ def load_scripts(reload_scripts=False, refresh_scripts=False):
test_reload(_sys.modules[module_name])
for base_path in script_paths():
for path_subdir in ("ui", "op", "io"):
for path_subdir in ("ui", "op", "io", "cfg"):
path = _os.path.join(base_path, path_subdir)
if _os.path.isdir(path):