fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3b819de
)
epub default cover
author
Jan Szejko
<janek37@gmail.com>
Fri, 16 Dec 2016 13:08:29 +0000
(14:08 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Fri, 16 Dec 2016 13:08:29 +0000
(14:08 +0100)
librarian/epub.py
patch
|
blob
|
history
diff --git
a/librarian/epub.py
b/librarian/epub.py
index
c126e78
..
f63826f
100644
(file)
--- a/
librarian/epub.py
+++ b/
librarian/epub.py
@@
-451,6
+451,8
@@
def transform(wldoc, verbose=False, style=None, html_toc=False,
style = get_resource('epub/style.css')
zip.write(style, os.path.join('OPS', 'style.css'))
+ if cover is None:
+ cover = WLCover
if cover:
if cover is True:
cover = WLCover