def _api_shutdown(name, output, kwargs):
 sabnzbd.halt()
 cherrypy.engine.exit()
 sabnzbd.SABSTOP = True
 return report(output)

def _api_shutdown ( name , output , kwargs ) : sabnzbd . halt ( ) cherrypy . engine . exit ( ) sabnzbd . SABSTOP = True return report ( output )
api: accepts output .