def preflight(): MangaCMS.lib.logSetup.initLogging(logToDb=True) # A side effect of get_plugins() is to validate there are no database key conflicts. # This has been an issue in the past. MangaCMS.util.runPlugin.get_plugins() firstRun.checkInitTables() runStatus.notq = None MangaCMS.lib.statusManager.resetAllRunningFlags() schemaUpdater.schemaRevisioner.updateDatabaseSchema() nt.dirNameProxy.startDirObservers()
def preflight(): logSetup.initLogging(logToDb=True) # A side effect of get_plugins() is to validate there are no database key conflicts. # This has been an issue in the past. utilities.runPlugin.get_plugins() firstRun.checkInitTables() # runStatus.notq = UploadPlugins.Madokami.notifier.start_notifier() runStatus.notq = None schemaUpdater.schemaRevisioner.updateDatabaseSchema() statusManager.resetAllRunningFlags() nt.dirNameProxy.startDirObservers()