Prefetcher, YOU ARE NOT ALLOWED TO QQ, SHUT UP

This commit is contained in:
cncfanatics
2010-10-20 20:20:00 +02:00
parent f5f13b971c
commit 490a21cc53

View File

@@ -24,11 +24,14 @@ class PrefetchThread(threading.Thread):
def run(self): def run(self):
# We're a daemon thread, as such, interpreter might get shut down while we do stuff # 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 # Make sure we don't throw tracebacks to console
eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon")) try:
cMarket = service.Market.getInstance() eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon"))
root = cMarket.getShipRoot() cMarket = service.Market.getInstance()
for id, _ in root: root = cMarket.getShipRoot()
cMarket.getShipList(id) for id, _ in root:
cMarket.getShipList(id)
except:
pass
prefetch = PrefetchThread() prefetch = PrefetchThread()
prefetch.daemon = True prefetch.daemon = True