- epub_file = EpubBuilder(
- cover=MarquiseCover,
- fundraising=texts,
- base_url='file://' + book.gallery_path() + '/'
- ).build(wlbook).get_file()
- mobi_file = MobiBuilder(
- cover=MarquiseCover,
- fundraising=texts,
- base_url='file://' + book.gallery_path() + '/'
- ).build(wlbook).get_file()
+ epub_file = remote_build(book, 'epub', options={
+ 'fundraising': texts,
+ })
+ mobi_file = remote_build(book, 'mobi', options={
+ 'fundraising': texts,
+ })