The previous version used the Python object `type` where it should
have used the string 'type'. I hadn't caught the bug before because
none of my example feeds fell through that far.
Signed-off-by: W. Trevor King <wking@tremily.us>
return content
if contents:
return contents[0]
- return {type: 'text/plain', 'value': ''}
+ return {'type': 'text/plain', 'value': ''}
def _process_entry_content(self, entry, content, link, subject):
"Convert entry content to the requested format."