fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:fnp/librarian into pretty
[librarian.git]
/
scripts
/
book2cover
diff --git
a/scripts/book2cover
b/scripts/book2cover
index
d2befc3
..
49cd539
100755
(executable)
--- a/
scripts/book2cover
+++ b/
scripts/book2cover
@@
-33,7
+33,7
@@
if __name__ == '__main__':
if options.verbose:
print input_filename
if options.verbose:
print input_filename
- output_filename = os.path.splitext(input_filename)[0] + '.
pn
g'
+ output_filename = os.path.splitext(input_filename)[0] + '.
jp
g'
doc = WLDocument.from_file(input_filename)
WLCover(doc.book_info).save(output_filename)
doc = WLDocument.from_file(input_filename)
WLCover(doc.book_info).save(output_filename)