diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-05 20:07:24 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-05 20:07:24 +0100 |
commit | eebac2b463b6e1db1f128d78b8151761c09448a6 (patch) | |
tree | 15f01d8496960b7d6a11c1948bd6fbdfc139e5b2 /module/InitHomeDir.py | |
parent | update notice (diff) | |
download | pyload-eebac2b463b6e1db1f128d78b8151761c09448a6.tar.xz |
beaker + jinja2 lib
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': |