summaryrefslogtreecommitdiffstats
path: root/module/InitHomeDir.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-05 20:07:24 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-05 20:07:24 +0100
commiteebac2b463b6e1db1f128d78b8151761c09448a6 (patch)
tree15f01d8496960b7d6a11c1948bd6fbdfc139e5b2 /module/InitHomeDir.py
parentupdate notice (diff)
downloadpyload-eebac2b463b6e1db1f128d78b8151761c09448a6.tar.xz
beaker + jinja2 lib
Diffstat (limited to 'module/InitHomeDir.py')
-rw-r--r--module/InitHomeDir.py12
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':