MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / Update

Class Update

service/update.py:102–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101
102class Update:
103 instance = None
104
105 @staticmethod
106 def CheckUpdate(callback):
107 thread = CheckUpdateThread(callback)
108 pyfalog.debug("Starting Check Update Thread.")
109 thread.start()
110
111 @classmethod
112 def getInstance(cls):
113 if cls.instance is None:
114 cls.instance = Update()
115 return cls.instance

Callers 1

getInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected