MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / __init__

Method __init__

src/astroprint/network/ssl.py:15–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13
14class SslManager(object):
15 def __init__(self):
16 self._settings = settings()
17 self.sslCertPath = roConfig('network.ssl.certPath')
18
19 def isSslActive(self):
20 return os.path.isfile(self.sslCertPath)

Callers

nothing calls this directly

Calls 2

settingsFunction · 0.90
roConfigFunction · 0.90

Tested by

no test coverage detected