Fix a typo in the prefetcher

This commit is contained in:
cncfanatics
2010-10-15 09:59:51 +02:00
parent 513812179f
commit 3e356279a9

View File

@@ -23,13 +23,16 @@ import eos.db
class PrefetchThread(threading.Thread):
def run(self):
print "preload"
# We're a daemon thread, as such, interpreter might get shut down while we do stuff
# Make sure we don't throw tracebacks to console
try:
eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.icon", "icon"))
eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "icon"))
print "skill"
cMarket = service.Market.getInstance()
root = cMarket.getShipRoot()
for id, _ in root:
print id
cMarket.getShipList(id)
except:
return