Author: andar

Revision: 5160

Log:
        Fix adding torrent to list on TorrentAddedEvent

Diff:
Modified: trunk/deluge/ui/console/main.py
===================================================================
--- trunk/deluge/ui/console/main.py     2009-04-24 22:50:44 UTC (rev 5159)
+++ trunk/deluge/ui/console/main.py     2009-04-24 22:52:19 UTC (rev 5160)
@@ -336,7 +336,7 @@
     def on_torrent_added_event(self, torrent_id):
         def on_torrent_status(status):
             self.torrents.append((torrent_id, status["name"]))
-        client.get_torrent_status(torrent_id, 
["name"]).addCallback(on_torrent_status)
+        client.core.get_torrent_status(torrent_id, 
["name"]).addCallback(on_torrent_status)
 
     def on_torrent_removed_event(self, torrent_id):
         for index, (tid, name) in enumerate(self.torrents):



--~--~---------~--~----~------------~-------~--~----~
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