X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1e0f8d82649a23f695333d5ef4588e8b60afbe99..0fd2ed230ea6d53adb5e627731672c996485167b:/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,