X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c06d9009a2f0caff4557384179078b4e45edfb8d..9a3f21550b892b737e156797c4d6645bf1237085:/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)