- epub_file = EpubBuilder(cover=MarquiseCover, fundraising=fundraising).build(wlbook).get_file()
- mobi_file = MobiBuilder(cover=MarquiseCover, fundraising=fundraising).build(wlbook).get_file()
-
+ epub_file = EpubBuilder(
+ cover=MarquiseCover,
+ fundraising=fundraising,
+ base_url='file://' + book.gallery_path() + '/'
+ ).build(wlbook).get_file()
+ mobi_file = MobiBuilder(
+ cover=MarquiseCover,
+ fundraising=fundraising,
+ base_url='file://' + book.gallery_path() + '/'
+ ).build(wlbook).get_file()
+
+ thema = []
+ if meta.thema_main:
+ thema.append(meta.thema_main)
+ thema.extend(meta.thema)
+