Fix exception when tracker column is not enabled

This commit is contained in:
Andrew Resch 2009-06-09 21:44:24 +00:00
parent b430899862
commit 72d3b0a549

View File

@ -175,6 +175,9 @@ class TrackerIcons(component.Component):
"""
returns None if the icon is not fetched(yet) or not fond.
"""
if not tracker_host:
return None
if tracker_host in self.images:
return self.images[tracker_host]
else: