From 620314428af097986ff747a8411c9c827dafcbc8 Mon Sep 17 00:00:00 2001 From: Aaron Swartz Date: Wed, 3 Aug 2005 12:00:00 +0000 Subject: [PATCH] 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 --- rss2email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.26.2