Author: damoxc

Revision: 5112

Log:
        fix displaying the host-list

Diff:
Modified: trunk/deluge/ui/web/json_api.py
===================================================================
--- trunk/deluge/ui/web/json_api.py     2009-04-21 07:17:49 UTC (rev 5111)
+++ trunk/deluge/ui/web/json_api.py     2009-04-21 07:26:20 UTC (rev 5112)
@@ -442,7 +442,7 @@
     @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()



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to