X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/30903dc148a14cd0f59fb1e40132092e389aec4b..17148f77fac59add006e131c439b41da9d8d2b43:/rss2maildir.py?ds=inline 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: