projects
/
rss2email.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feed: fix the `type` key returned by Feed._get_entry_content
[rss2email.git]
/
rss2email
/
feed.py
diff --git
a/rss2email/feed.py
b/rss2email/feed.py
index 60f00e49a7ebb74a253078e1567409fe6e9b6cd6..2ec3e7dc859d53831b2bcb8471a421399e059f60 100644
(file)
--- a/
rss2email/feed.py
+++ b/
rss2email/feed.py
@@
-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."