dev #19
@ -119,6 +119,7 @@ pid = getpid()
|
||||
from plugins.commands.general import *
|
||||
|
||||
if configGet("submit", "mode"):
|
||||
from plugins.callbacks.nothing import *
|
||||
from plugins.callbacks.submission import *
|
||||
from plugins.commands.mode_submit import *
|
||||
from plugins.handlers.submission import *
|
||||
@ -174,7 +175,7 @@ if __name__ == "__main__":
|
||||
app.start()
|
||||
|
||||
if configGet("startup", "reports"):
|
||||
app.send_message(configGet("admin"), locale("startup", "message", locale=configGet("locale")).format(str(pid)))
|
||||
app.send_message(app.owner, locale("startup", "message", locale=configGet("locale")).format(str(pid)))
|
||||
|
||||
if configGet("post", "mode"):
|
||||
scheduler.start()
|
||||
@ -186,7 +187,7 @@ if __name__ == "__main__":
|
||||
|
||||
idle()
|
||||
|
||||
app.send_message(configGet("admin"), locale("shutdown", "message", locale=configGet("locale")).format(str(pid)))
|
||||
app.send_message(app.owner, locale("shutdown", "message", locale=configGet("locale")).format(str(pid)))
|
||||
logWrite(locale("shutdown", "console", locale=configGet("locale")).format(str(pid)))
|
||||
|
||||
killProc(pid)
|
Reference in New Issue
Block a user