Do not request a tracker icon if the host is ""

This commit is contained in:
Andrew Resch 2010-05-08 20:06:15 -07:00
parent f0c06f4bc5
commit 98da4d0291
1 changed files with 1 additions and 1 deletions

View File

@ -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)