From a945d0a78d7aebc065c796a2a6b23e8ebdadb18e Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 8 May 2010 20:02:58 -0700 Subject: [PATCH] Use previously defined host variable instead of getting the tracker host from the TreeModel --- deluge/ui/gtkui/torrentview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index 1005c15a1..bc1b90893 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)