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

Method __init__

service/settings.py:300–308  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

298 return cls._instance
299
300 def __init__(self):
301 serviceHTMLExportDefaultSettings = {
302 "path" : config.savePath + os.sep + 'pyfaFits.html',
303 "minimal": False
304 }
305 self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings(
306 "pyfaServiceHTMLExportSettings",
307 serviceHTMLExportDefaultSettings
308 )
309
310 def getMinimalEnabled(self):
311 return self.serviceHTMLExportSettings["minimal"]

Callers

nothing calls this directly

Calls 2

getSettingsMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected