MCPcopy
hub / github.com/pyload/pyload / setupDB

Method setupDB

pyLoadCore.py:491–496  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

489 self.scheduler.work()
490
491 def setupDB(self):
492 self.db = DatabaseBackend(self) # the backend
493 self.db.setup()
494
495 self.files = FileHandler(self)
496 self.db.manager = self.files #ugly?
497
498 def init_webserver(self):
499 if self.config['webinterface']['activated']:

Callers 1

startMethod · 0.95

Calls 3

DatabaseBackendClass · 0.90
FileHandlerClass · 0.90
setupMethod · 0.45

Tested by

no test coverage detected