From 17148f77fac59add006e131c439b41da9d8d2b43 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Mon, 3 Mar 2008 11:58:08 +0000 Subject: [PATCH] Fix issue with images having the same alt value but different urls --- rss2maildir.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rss2maildir.py b/rss2maildir.py index d36b489..86387f9 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -313,12 +313,11 @@ class HTML2Text(HTMLParser): else: while self.images.has_key(alt): alt = alt + "_" - self.images[alt]["url"] = url + self.images[alt] = {"url": url} self.curdata = self.curdata \ + u'|%s|' %(alt,) else: - self.images[alt] = {} - self.images[alt]["url"] = url + self.images[alt] = {"url": url} self.curdata = self.curdata \ + u'|%s|' %(alt,) else: -- 2.39.5