X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1e0f8d82649a23f695333d5ef4588e8b60afbe99..53acb1f3e125b31e3c0837a67bf0a4a9a29e4548:/scripts/book2partner 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,