def saveComicStrip(self, strip):
        """Save a comic strip which can consist of multiple images."""
        allskipped = True
        for image in strip.getImages():
            try:
                if self.options.dry_run:
                    filename, saved = "", False
                else:
                    filename, saved = image.save(self.options.basepath)
                if saved:
                    allskipped = False
                if self.stopped:
                    break
            except Exception as msg:
                out.exception('Could not save image at %s to %s: %r' % (image.referrer, image.filename, msg))
                self.errors += 1
        return allskipped
def saveComicStrip ( self , strip ) : allskipped = True for image in strip . getImages ( ) : try : if self . options . dry_run : filename , saved = "" , False else : filename , saved = image . save ( self . options . basepath ) if saved : allskipped = False if self . stopped : break except Exception as msg : out . exception ( 'Could not save image at %s to %s: %r' % ( image . referrer , image . filename , msg ) ) self . errors += 1 return allskipped
Save a comic strip which can consist of multiple images.