summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/gui/CNLServer.py4
-rw-r--r--module/setup.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/module/gui/CNLServer.py b/module/gui/CNLServer.py
index df9cd361d..1c654c54e 100644
--- a/module/gui/CNLServer.py
+++ b/module/gui/CNLServer.py
@@ -30,11 +30,11 @@ except:
pass
try:
- from module import JsEngine
+ from module.common import JsEngine
except ImportError:
import sys
sys.path.append(join(abspath(dirname(__file__)), "..", ".."))
- from module import JsEngine
+ from module.common import JsEngine
js = JsEngine.JsEngine()
core = None
diff --git a/module/setup.py b/module/setup.py
index cab945784..3a15a8609 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -255,7 +255,7 @@ class Setup():
web = sqlite and beaker
- from module import JsEngine
+ from module.common import JsEngine
js = True if JsEngine.ENGINE else False
self.print_dep(_("JS engine"), js)