X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1e0f8d82649a23f695333d5ef4588e8b60afbe99..5c8b83a904d5dd988c0bfd86729b91a1ac763164:/scripts/book2partner?ds=sidebyside diff --git a/scripts/book2partner b/scripts/book2partner index 6f2beac..786c2c2 100755 --- 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') - 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,