summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 22:50:26 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 22:50:26 +0200
commitc2029bf97a5b9c2e06473ad352b7dd174a06a648 (patch)
treef44c54e79bb648845209e8bb75b34fe33efeb9cf /module/web
parentclosed #149 (diff)
downloadpyload-c2029bf97a5b9c2e06473ad352b7dd174a06a648.tar.xz
new locale
Diffstat (limited to 'module/web')
-rw-r--r--module/web/settings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/settings.py b/module/web/settings.py
index 4dfe50fdc..c087cc6bf 100644
--- a/module/web/settings.py
+++ b/module/web/settings.py
@@ -27,7 +27,6 @@ sys.path.append(pypath)
config = None
#os.chdir(PROJECT_DIR) # UNCOMMENT FOR LOCALE GENERATION
-#DEBUG = config.get("general","debug")
try:
import module.web.ServerThread
@@ -55,6 +54,8 @@ except:
PYLOAD = xmlrpclib.ServerProxy(server_url, allow_none=True)
+DEBUG = config.get("general","debug_mode")
+
from module.JsEngine import JsEngine
JS = JsEngine()