diff --git a/dosagelib/events.py b/dosagelib/events.py index 17573214d..e51e03afb 100644 --- a/dosagelib/events.py +++ b/dosagelib/events.py @@ -182,11 +182,15 @@ class HtmlEventHandler(EventHandler): """Write HTML entry for downloaded comic.""" if self.lastComic != comic.name: self.newComic(comic) + size = getDimensionForImage(filename, MaxImageSize) imageUrl = self.getUrlFromFilename(filename) pageUrl = comic.referrer if pageUrl != self.lastUrl: self.html.write(u'
  • %s\n' % (pageUrl, pageUrl)) - self.html.write(u'
    \n' % imageUrl) + self.html.write(u'
    \n') if text: self.html.write(u'
    %s\n' % text) self.lastComic = comic.name