mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
fix an AlreadyCalledError when getting a hosts status
This commit is contained in:
parent
a78ab9529f
commit
1ebb490e4e
1 changed files with 5 additions and 5 deletions
|
@ -590,7 +590,7 @@ class WebApi(JSONComponent):
|
||||||
callback(_("Connected"), info)
|
callback(_("Connected"), info)
|
||||||
|
|
||||||
client.daemon.info().addCallback(on_info)
|
client.daemon.info().addCallback(on_info)
|
||||||
|
else:
|
||||||
c = Client()
|
c = Client()
|
||||||
d = c.connect(host, port, user, password)
|
d = c.connect(host, port, user, password)
|
||||||
d.addCallback(on_connect, c, host_id)
|
d.addCallback(on_connect, c, host_id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue