mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-25 02:39:16 +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.
|
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…
x
Reference in New Issue
Block a user