X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c06d9009a2f0caff4557384179078b4e45edfb8d..55ec37324e9008cdb641ee55ed367a941f0fed07:/src/cover/models.py?ds=sidebyside 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)