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

Method __init__

src/octoprint/__init__.py:19–28  ·  view source on GitHub ↗
(self, pidfile, configfile, basedir, host, port, debug, allowRoot, logConf)

Source from the content-addressed store, hash-verified

17
18class Main(Daemon):
19 def __init__(self, pidfile, configfile, basedir, host, port, debug, allowRoot, logConf):
20 Daemon.__init__(self, pidfile)
21
22 self._configfile = configfile
23 self._basedir = basedir
24 self._host = host
25 self._port = port
26 self._debug = debug
27 self._allowRoot = allowRoot
28 self._logConf = logConf
29
30 def run(self):
31 startServer(self._configfile, self._basedir, self._host, self._port, self._debug, self._allowRoot)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected