yieldT(' <br />SABnzbd shutdown finished.<br />Wait for about 5 second and then click the button below.<br /><br /><strong><a href="..">Refresh</a></strong><br />')
yieldT(' <br />SABnzbd shutdown finished.<br />Wait for about 5 second and then click the button below.<br /><br /><strong><a href="..">Refresh</a></strong><br />')
cherrypy.engine.restart()
sabnzbd.trigger_restart()
@cherrypy.expose
@cherrypy.expose
defrepair(self,**kwargs):
defrepair(self,**kwargs):
@ -1305,9 +1304,8 @@ class ConfigPage(object):
else:
else:
sabnzbd.request_repair()
sabnzbd.request_repair()
yieldT('Initiating restart...<br />')
yieldT('Initiating restart...<br />')
sabnzbd.halt()
yieldT(' <br />SABnzbd shutdown finished.<br />Wait for about 5 second and then click the button below.<br /><br /><strong><a href="..">Refresh</a></strong><br />')
yieldT(' <br />SABnzbd shutdown finished.<br />Wait for about 5 second and then click the button below.<br /><br /><strong><a href="..">Refresh</a></strong><br />')