From 3e0bc9a0fb4dd6324e9764bc31f4686d672b70f4 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 5 Oct 2010 22:55:22 +0200 Subject: general js api + pyv8 support --- pyLoadCore.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index aec4cafb2..bb518755b 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -65,6 +65,7 @@ import module.remote.SecureXMLRPCServer as Server from module.web.ServerThread import WebServer from module.FileDatabase import PyFile from module.Scheduler import Scheduler +from module.JsEngine import JsEngine from codecs import getwriter if os.name == "nt": @@ -262,6 +263,8 @@ class Core(object): self.captchaManager = CaptchaManager(self) self.hookManager = HookManager(self) + self.js = JsEngine() + self.log.info(_("Downloadtime: %s") % self.server_methods.is_time_download()) if xmlrpc: -- cgit v1.2.3