fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimization.
[redakcja.git]
/
src
/
documents
/
models
/
book.py
diff --git
a/src/documents/models/book.py
b/src/documents/models/book.py
index
1b34fb6
..
f40af29
100644
(file)
--- a/
src/documents/models/book.py
+++ b/
src/documents/models/book.py
@@
-399,7
+399,7
@@
class Book(models.Model):
self.build_cover()
def build_cover(self):
- width, height = 21
6
, 300
+ width, height = 21
2
, 300
try:
xml = self.materialize(publishable=True).encode('utf-8')
info = BookInfo.from_bytes(xml)