I have a python script filter with 2 items in the output items list, as below. Its keyword is 'n'. My expectation is that giving Alfred 'n t' I'd be offered 'task' as my first option but I'm offered 'page'. What's the really obvious thing i'm missing here?
import json
items = { 'items' : [
{
'uid': "no1",
'title': "page",
'subtitle': "add page",
'arg': "page",
'autocomplete': 'page',
'match': 'page'
},
{
'uid': "no2",
'title': "task",
'subtitle': "add task",
'arg': "task",
'autocomplete': 'task',
'match': 'task'
}
]
}
print ( json.dumps( items ) )