mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 18:29:12 +00:00
Fix exception when tracker column is not enabled
This commit is contained in:
parent
b430899862
commit
72d3b0a549
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user