fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Legimi sales.
[redakcja.git]
/
src
/
cover
/
models.py
diff --git
a/src/cover/models.py
b/src/cover/models.py
index
60f1bca
..
45b5ff9
100644
(file)
--- 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)