From 98da4d0291b3fa5a5f683b627f6cd9607ed6a9f5 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 8 May 2010 20:06:15 -0700 Subject: [PATCH] Do not request a tracker icon if the host is "" --- deluge/ui/gtkui/filtertreeview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/filtertreeview.py b/deluge/ui/gtkui/filtertreeview.py index c63a5052d..b5e531e51 100644 --- a/deluge/ui/gtkui/filtertreeview.py +++ b/deluge/ui/gtkui/filtertreeview.py @@ -210,7 +210,7 @@ class FilterTreeView(component.Component): row = self.treestore.append(self.cat_nodes[cat],[cat, value, label, count , pix, True]) self.filters[(cat, value)] = row - if cat == "tracker_host" and value not in ("All", "Error"): + if cat == "tracker_host" and value not in ("All", "Error") and value: d = self.tracker_icons.get(value) d.addCallback(on_get_icon)