fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some epub/mobi fixes
[librarian.git]
/
scripts
/
book2pdf
diff --git
a/scripts/book2pdf
b/scripts/book2pdf
index
fd69970
..
d10f400
100755
(executable)
--- a/
scripts/book2pdf
+++ b/
scripts/book2pdf
@@
-2,7
+2,7
@@
# -*- coding: utf-8 -*-
#
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
# -*- coding: utf-8 -*-
#
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
import os.path
from optparse import OptionParser
#
import os.path
from optparse import OptionParser
@@
-49,9
+49,9
@@
if __name__ == '__main__':
else:
output_dir = path
else:
output_dir = path
- pdf.transform(provider,
- file_path=main_input,
- output_file=output_file,
+ pdf.transform(provider,
+ file_path=main_input,
+ output_file=output_file,
output_dir=output_dir,
verbose=options.verbose,
make_dir=options.make_dir,
output_dir=output_dir,
verbose=options.verbose,
make_dir=options.make_dir,
@@
-62,5
+62,5
@@
if __name__ == '__main__':
print '%(file)s:%(name)s:%(message)s; use -v to see more output' % {
'file': main_input,
'name': e.__class__.__name__,
print '%(file)s:%(name)s:%(message)s; use -v to see more output' % {
'file': main_input,
'name': e.__class__.__name__,
- 'message': e
.message
+ 'message': e
}
}