diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py index 1e5d7f04a..3469bf194 100644 --- a/deluge/ui/tracker_icons.py +++ b/deluge/ui/tracker_icons.py @@ -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: