diff options
Diffstat (limited to 'module/web/settings.py')
-rw-r--r-- | module/web/settings.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/module/web/settings.py b/module/web/settings.py index 515117860..4dfe50fdc 100644 --- a/module/web/settings.py +++ b/module/web/settings.py @@ -55,13 +55,8 @@ 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 = []
-
+from module.JsEngine import JsEngine
+JS = JsEngine()
TEMPLATE = config.get('webinterface','template')
DL_ROOT = os.path.join(PYLOAD_DIR, config.get('general','download_folder'))
|