From 92ecb3fe871a28a4ad894b4e46a04b7890bb4053 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 16 Sep 2009 08:32:33 +0000 Subject: [PATCH] don't enable plugins until connected to a daemonm --- deluge/ui/web/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index 186852910..99cc05149 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -364,6 +364,8 @@ class TopLevel(resource.Resource): self.putChild("render", Render()) self.putChild("themes", static.File(rpath("themes"))) self.putChild("tracker", Tracker()) + self.putChild("test", static.File("test.html")) + self.putChild("test.js", static.File("test.js")) theme = component.get("DelugeWeb").config["theme"] self.__stylesheets.insert(1, "/css/xtheme-%s.css" % theme) @@ -505,7 +507,6 @@ class DelugeWeb(component.Component): self.start_ssl() else: self.start_normal() - self.plugins.enable_plugins() component.get("JSON").enable()