コード例 #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')