X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c06d9009a2f0caff4557384179078b4e45edfb8d..8a6efdde5fcb28fb6d82695548a3412829a3e6a2:/src/cover/models.py diff --git a/src/cover/models.py b/src/cover/models.py index 60f1bca5..45b5ff9e 100644 --- a/src/cover/models.py +++ b/src/cover/models.py @@ -52,6 +52,7 @@ class Image(models.Model): return u"%s - %s" % (self.author, self.title) def save(self, **kwargs): + super().save(**kwargs) img = self.file if self.cut_top or self.cut_bottom or self.cut_left or self.cut_right: img = PILImage.open(img)