def comicDownloaded(self, comic, filename, text=None):
        """Add URL-to-filename mapping into JSON."""
        pageInfo = self.getPageInfo(comic.name, comic.referrer)
        pageInfo['images'][comic.url] = os.path.basename(filename)
def comicDownloaded ( self , comic , filename , text = None ) : pageInfo = self . getPageInfo ( comic . name , comic . referrer ) pageInfo [ 'images' ] [ comic . url ] = os . path . basename ( filename )
Add URL-to-filename mapping into JSON.