def list_compatible():
 workflows = get_compatible()
 feedback = alfred.Feedback()
 for w in workflows:
  subtitle = ((('v' + unicode(w.version)) + ' ') + w.description)
  feedback.addItem(title=w.name, subtitle=subtitle, icon=w.icon, valid='no')
 if feedback.isEmpty():
  feedback.addItem(title='No compatible workflows found', valid='no', autocomplete='')
 else:
  feedback.addItem(title='Go back', valid='no', icon='back.png', autocomplete='')
 feedback.output()

def list_compatible ( ) : workflows = get_compatible ( ) feedback = alfred . Feedback ( ) for w in workflows : subtitle = ( ( ( 'v' + unicode ( w . version ) ) + ' ' ) + w . description ) feedback . addItem ( title = w . name , subtitle = subtitle , icon = w . icon , valid = 'no' ) if feedback . isEmpty ( ) : feedback . addItem ( title = 'No compatible workflows found' , valid = 'no' , autocomplete = '' ) else : feedback . addItem ( title = 'Go back' , valid = 'no' , icon = 'back.png' , autocomplete = '' ) feedback . output ( )
displays all alleyoop compatible workflows .