summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-05 21:32:54 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-05 21:32:54 +0100
commitce41bb9c44edb8fd4035baab6af62810628776d2 (patch)
treeb8179f304812556a0dae2ce92a25c3bc258edbe4 /module
parentuploading.com premium (diff)
downloadpyload-ce41bb9c44edb8fd4035baab6af62810628776d2.tar.xz
setup fix
Diffstat (limited to 'module')
-rw-r--r--module/setup.py2
-rw-r--r--module/web/webinterface.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/module/setup.py b/module/setup.py
index df63dda68..144f38127 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -291,7 +291,7 @@ class Setup():
def set_user(self):
- translation = gettext.translation("setup", join(self.path, "locale"), languages=[self.config["general"]["language"]])
+ translation = gettext.translation("setup", join(self.path, "locale"), languages=["en", self.config["general"]["language"]])
translation.install(unicode=(True if sys.getfilesystemencoding().startswith("utf") else False))
from module.DatabaseBackend import DatabaseBackend
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index be28fb2eb..f6982287d 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -27,7 +27,6 @@ PROJECT_DIR = abspath(dirname(__file__))
PYLOAD_DIR = abspath(join(PROJECT_DIR, "..", ".."))
sys.path.append(PYLOAD_DIR)
-sys.path.append(join(PYLOAD_DIR, "module", "lib"))
from module import InitHomeDir