def _api_restart(name, output, kwargs):
 sabnzbd.trigger_restart()
 return report(output)

def _api_restart ( name , output , kwargs ) : sabnzbd . trigger_restart ( ) return report ( output )
api: accepts output .