mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Use previously defined host variable instead of getting the tracker host from the TreeModel
This commit is contained in:
parent
98da4d0291
commit
4fb14b581d
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def cell_data_trackericon(column, cell, model, row, data):
|
|||
|
||||
host = model[row][data]
|
||||
if host:
|
||||
d = component.get("TrackerIcons").get(model[row][data])
|
||||
d = component.get("TrackerIcons").get(host)
|
||||
d.addCallback(on_get_icon)
|
||||
else:
|
||||
on_get_icon(None)
|
||||
|
|
Loading…
Add table
Reference in a new issue