diff options
Diffstat (limited to 'module/web/settings.py')
-rw-r--r-- | module/web/settings.py | 7 |
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'))
|