mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
fix displaying the host-list
This commit is contained in:
parent
9d583b8c51
commit
a60bf912fb
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ class WebApi(JSONComponent):
|
||||||
@export
|
@export
|
||||||
def get_hosts(self):
|
def get_hosts(self):
|
||||||
"""Return the hosts in the hostlist"""
|
"""Return the hosts in the hostlist"""
|
||||||
hosts = dict((host[HOSTLIST_ID], host[:]) for \
|
hosts = dict((host[HOSTLIST_ID], list(host[:])) for \
|
||||||
host in self.host_list["hosts"])
|
host in self.host_list["hosts"])
|
||||||
|
|
||||||
main_deferred = Deferred()
|
main_deferred = Deferred()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue