Refactor sugar.env and paths

This commit is contained in:
Marco Pesenti Gritti
2007-03-09 14:57:54 +01:00
parent a380b7f915
commit 57c928916c
18 changed files with 55 additions and 41 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ logger.cleanup()
logger.start('shell')
if len(sys.argv) == 1:
sys.path.insert(0, os.path.join(env.get_data_dir(), 'shell'))
sys.path.insert(0, env.get_shell_path())
from view.Shell import Shell
from model.ShellModel import ShellModel