feed: fix the `type` key returned by Feed._get_entry_content
[rss2email.git] / rss2email / feed.py
index 60f00e49a7ebb74a253078e1567409fe6e9b6cd6..2ec3e7dc859d53831b2bcb8471a421399e059f60 100644 (file)
@@ -630,7 +630,7 @@ class Feed (object):
                     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."