summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-06 00:13:46 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-06 00:13:46 +0200
commitb03810fa88dc4824812dd8ba00cd4222cc3dcab0 (patch)
tree2f8728ec3c6ecd61427b75073dc65630812fa9e5
parentclosed #325 (diff)
downloadpyload-b03810fa88dc4824812dd8ba00cd4222cc3dcab0.tar.xz
fix js engine references
-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)