diff options
Diffstat (limited to 'module/InitHomeDir.py')
-rw-r--r-- | module/InitHomeDir.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/InitHomeDir.py b/module/InitHomeDir.py index a45c0cd83..9a0fb60d8 100644 --- a/module/InitHomeDir.py +++ b/module/InitHomeDir.py @@ -19,16 +19,16 @@ This modules inits working directories and global variables, pydir and homedir """ -from os import makedirs -from os import path -from os import chdir -from sys import platform -from sys import argv +from os import makedirs, path, chdir +from os.path import join +import sys +from sys import argv, platform import __builtin__ - __builtin__.pypath = path.abspath(path.join(__file__, "..", "..")) +sys.path.append(join(pypath, "module", "lib")) + homedir = "" if platform == 'nt': |