summaryrefslogtreecommitdiffstats
path: root/module/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/setup.py')
-rw-r--r--module/setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/setup.py b/module/setup.py
index e2b87e781..1991f0af4 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -244,7 +244,9 @@ class Setup():
self.print_dep("django", web)
web = web and sqlite
- js = self.check_prog(["js", "-v"])
+ from module import JsEngine
+
+ js = True if JsEngine.ENGINE else False
self.print_dep(_("JS engine"), js)
return (basic, ssl, captcha, gui, web, js)