Use previously defined host variable instead of getting the tracker host from the TreeModel

This commit is contained in:
Andrew Resch 2010-05-08 20:02:58 -07:00
parent 245b799ccf
commit a945d0a78d
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ def cell_data_trackericon(column, cell, model, row, data):
host = model[row][data] host = model[row][data]
if host: if host:
d = component.get("TrackerIcons").get(model[row][data]) d = component.get("TrackerIcons").get(host)
d.addCallback(on_get_icon) d.addCallback(on_get_icon)
else: else:
on_get_icon(None) on_get_icon(None)