summaryrefslogtreecommitdiffstats
path: root/module/web/settings.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-03 18:12:36 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-03 18:12:36 +0200
commitdbd9423f99fcde168b0483e4a37a094b93bb2ea0 (patch)
tree30dd0a93d4d706ada845f0552e21de5ab4ffedc4 /module/web/settings.py
parentnetload prefetching fix (diff)
downloadpyload-dbd9423f99fcde168b0483e4a37a094b93bb2ea0.tar.xz
new js engine for cnl
Diffstat (limited to 'module/web/settings.py')
-rw-r--r--module/web/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/web/settings.py b/module/web/settings.py
index 134eadd50..3cac7604c 100644
--- a/module/web/settings.py
+++ b/module/web/settings.py
@@ -53,6 +53,13 @@ except:
PYLOAD = xmlrpclib.ServerProxy(server_url, allow_none=True)
+try:
+ import subprocess
+ subprocess.Popen(["js", "-v"], bufsize=-1,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ JS = ["js"]
+except:
+ JS = []
+
TEMPLATE = config.get('webinterface','template')
DL_ROOT = os.path.join(PYLOAD_DIR, config.get('general','download_folder'))