Module: deluge Branch: master Commit: a945d0a78d7aebc065c796a2a6b23e8ebdadb18e
Author: Andrew Resch <[email protected]> Date: Sat May 8 20:02:58 2010 -0700 Use previously defined host variable instead of getting the tracker host from the TreeModel --- deluge/ui/gtkui/torrentview.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index 1005c15..bc1b908 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -102,7 +102,7 @@ def cell_data_trackericon(column, cell, model, row, data): host = model[row][data] if host: - d = component.get("TrackerIcons").get(model[row][data]) + d = component.get("TrackerIcons").get(host) d.addCallback(on_get_icon) else: on_get_icon(None) -- 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.
