mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 17:08:42 +00:00
Fix exception when tracker column is not enabled
This commit is contained in:
parent
b430899862
commit
72d3b0a549
1 changed files with 3 additions and 0 deletions
|
@ -175,6 +175,9 @@ class TrackerIcons(component.Component):
|
||||||
"""
|
"""
|
||||||
returns None if the icon is not fetched(yet) or not fond.
|
returns None if the icon is not fetched(yet) or not fond.
|
||||||
"""
|
"""
|
||||||
|
if not tracker_host:
|
||||||
|
return None
|
||||||
|
|
||||||
if tracker_host in self.images:
|
if tracker_host in self.images:
|
||||||
return self.images[tracker_host]
|
return self.images[tracker_host]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue