fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moglen do wydania
[librarian.git]
/
librarian
/
cover.py
diff --git
a/librarian/cover.py
b/librarian/cover.py
index
dfd451b
..
ff01841
100644
(file)
--- a/
librarian/cover.py
+++ b/
librarian/cover.py
@@
-435,3
+435,12
@@
class GandalfCover(Cover):
logo_bottom = 25
logo_width = 250
format = 'PNG'
+
+class FutureOfCopyrightCover(Cover):
+ width = 420
+ height = 595
+ background_img = 'cover.png'
+ format = 'PNG'
+
+ def save(self, dest):
+ dest.write(open(self.background_img).read())