Fix FORCE_FROM handling.
Downloaded from:
http://web.archive.org/web/
20040825081604/http://www.aaronsw.com/2002/rss2email/rss2email-2.31.py
list
delete n
"""
-__version__ = "2.3"
+__version__ = "2.31"
__author__ = "Aaron Swartz (me@aaronsw.com)"
__copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2."
___contributors__ = ["Dean Jackson (dino@grorg.org)",
headers = "From: "
if c.has_key('title'): headers += quoteEmailName(e(c, 'title')) + ' '
- if FORCE_FROM and c.has_key(ert) and c[ert].startswith('mailto:'):
+ if (not FORCE_FROM) and c.has_key(ert) and c[ert].startswith('mailto:'):
fr = c[ert][7:]
else:
fr = DEFAULT_FROM