def create(self, image):
        if self.exists(image) and not self.regenerate_images:
            return

        try:
            ImageModel(image)
        except __HOLE__:
            log.warning("Unable to store models on this machine")

        image.root = self.root
        image.generate()

        with suppress(IOError):
            os.remove(self.latest)
        shutil.copy(image.path, self.latest)
dataset/ETHPy150Open jacebrowning/memegen/memegen/stores/image.py/ImageStore.create