def _api_queue_resume(output, value, kwargs):
 if value:
  items = value.split(',')
  handled = NzbQueue.do.resume_multiple_nzo(items)
 return report(output, keyword='', data={'status': bool(handled), 'nzo_ids': handled})

def _api_queue_resume ( output , value , kwargs ) : if value : items = value . split ( ',' ) handled = NzbQueue . do . resume_multiple_nzo ( items ) return report ( output , keyword = '' , data = { 'status' : bool ( handled ) , 'nzo_ids' : handled } )
api: accepts output .