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