fix an AlreadyCalledError when getting a hosts status
This commit is contained in:
parent
a78ab9529f
commit
1ebb490e4e
@ -590,7 +590,7 @@ class WebApi(JSONComponent):
|
||||
callback(_("Connected"), info)
|
||||
|
||||
client.daemon.info().addCallback(on_info)
|
||||
|
||||
else:
|
||||
c = Client()
|
||||
d = c.connect(host, port, user, password)
|
||||
d.addCallback(on_connect, c, host_id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user