From 3e356279a99dbf565a1ff0a4204c717cff7b81c9 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Fri, 15 Oct 2010 09:59:51 +0200 Subject: [PATCH] Fix a typo in the prefetcher --- service/prefetch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/service/prefetch.py b/service/prefetch.py index 34d3020f8..88eedc527 100644 --- a/service/prefetch.py +++ b/service/prefetch.py @@ -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