fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for empty editors
[librarian.git]
/
scripts
/
book2partner
diff --git
a/scripts/book2partner
b/scripts/book2partner
index
6f2beac
..
786c2c2
100755
(executable)
--- a/
scripts/book2partner
+++ b/
scripts/book2partner
@@
-101,7
+101,8
@@
def asbis(filenames, output_dir, verbose):
except:
pass
outfile = os.path.join(output_dir, slug + '.epub')
except:
pass
outfile = os.path.join(output_dir, slug + '.epub')
- epub.transform(provider, file_path=main_input, output_file=outfile, cover_fn=cover.asbis_cover)
+ epub.transform(provider, file_path=main_input, output_file=outfile,
+ cover_fn=cover.asbis_cover, flags=('less-advertising',))
except ParseError, e:
print '%(file)s:%(name)s:%(message)s' % {
'file': main_input,
except ParseError, e:
print '%(file)s:%(name)s:%(message)s' % {
'file': main_input,