mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix bug in the stop_daemon method
This commit is contained in:
parent
1b6d92c778
commit
e0671a0daa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue