Author: damoxc
Revision: 5773
Log:
fix bug in the stop_daemon method
Diff:
Modified: trunk/deluge/ui/web/json_api.py
===================================================================
--- trunk/deluge/ui/web/json_api.py 2009-09-24 08:33:35 UTC (rev 5772)
+++ trunk/deluge/ui/web/json_api.py 2009-09-24 08:35:40 UTC (rev 5773)
@@ -686,7 +686,7 @@
: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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---