Fix a warning on performance

committing as cnc commands
This commit is contained in:
Corollax
2010-12-06 02:57:03 -06:00
parent 4442b4a23b
commit 1bf4e7498d

View File

@@ -61,7 +61,7 @@ class AttributeDisplay(ViewColumn):
sMarket = service.Market.getInstance()
#Hack into our master view and add a callback for ourselves to know when to query
def refresh(stuff):
self.directInfo = sMarket.directRequest(stuff, info.ID) if stuff is not None else None
self.directInfo = sMarket.directRequest(stuff, info.ID) if stuff else None
originalRefresh(stuff)
fittingView.refresh = refresh