From e0671a0daacd89684e0c13753279f1ef1d819804 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 24 Sep 2009 08:35:40 +0000 Subject: [PATCH] fix bug in the stop_daemon method --- deluge/ui/web/json_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index a95b741f9..b74a57339 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -686,7 +686,7 @@ class WebApi(JSONComponent): :type host_id: string """ main_deferred = Deferred() - host = self.get_host(connection_id) + host = self.get_host(host_id) if not host: main_deferred.callback((False, _("Daemon doesn't exist"))) return main_deferred