From a60bf912fb85693b7663da3ddf4455e75edd3275 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 21 Apr 2009 07:26:20 +0000 Subject: [PATCH] fix displaying the host-list --- deluge/ui/web/json_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index 4c4049cfb..de0f70180 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -442,7 +442,7 @@ class WebApi(JSONComponent): @export def get_hosts(self): """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"]) main_deferred = Deferred()