MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

50 return cls._instance
51
52 def __init__(self):
53 if hasattr(self, 'BASE_PATH'):
54 if not os.path.exists(self.BASE_PATH):
55 os.mkdir(self.BASE_PATH)
56
57 def getSettings(self, area, defaults=None):
58 # type: (basestring, dict) -> service.Settings

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected