From: Aaron Swartz Date: Wed, 3 Aug 2005 12:00:00 +0000 (+0000) Subject: Add rss2email v2.55 X-Git-Tag: v2.55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=620314428af097986ff747a8411c9c827dafcbc8;p=rss2email.git Add rss2email v2.55 datetime parsing bug Downloaded from: http://web.archive.org/web/20060215024552/http://www.aaronsw.com/2002/rss2email/rss2email-2.55.py --- diff --git a/rss2email.py b/rss2email.py index 2221bf1..4f58415 100644 --- a/rss2email.py +++ b/rss2email.py @@ -10,7 +10,7 @@ Usage: list delete n """ -__version__ = "2.54" +__version__ = "2.55" __author__ = "Aaron Swartz (me@aaronsw.com)" __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2." ___contributors__ = ["Dean Jackson", "Brian Lalor", "Joey Hess", @@ -373,7 +373,7 @@ def run(num=None): if DATE_HEADER: for datetype in DATE_HEADER_ORDER: kind = datetype+"_parsed" - if kind in entry: datetime = entry[kind] + if kind in entry and entry[kind]: datetime = entry[kind] content = getContent(entry, HTMLOK=HTML_MAIL)