예제 #1
0
파일: market.py 프로젝트: wyl0706/Pyfa
 def __init__(self):
     threading.Thread.__init__(self)
     self.name = "SearchWorker"
     self.jargonLoader = JargonLoader.instance()
     # load the jargon while in an out-of-thread context, to spot any problems while in the main thread
     self.jargonLoader.get_jargon()
     self.jargonLoader.get_jargon().apply('test string')
예제 #2
0
파일: market.py 프로젝트: Sectoid/Pyfa
 def __init__(self):
     threading.Thread.__init__(self)
     self.name = "SearchWorker"
     self.jargonLoader = JargonLoader.instance()
     # load the jargon while in an out-of-thread context, to spot any problems while in the main thread
     self.jargonLoader.get_jargon()
     self.jargonLoader.get_jargon().apply('test string')