X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/4795d15d061b8ed6e4762be2c7787b355bbe3e63..7dee009f056f7d802ed487b9b77698d54309f4da:/librarian/mobi.py?ds=sidebyside diff --git a/librarian/mobi.py b/librarian/mobi.py index 61a6de1..c3c8f28 100644 --- a/librarian/mobi.py +++ b/librarian/mobi.py @@ -13,7 +13,7 @@ from librarian import OutputFile def transform(wldoc, verbose=False, sample=None, cover=None, - use_kindlegen=False, flags=None, hyphenate=True): + use_kindlegen=False, flags=None, hyphenate=True, ilustr_path=''): """ produces a MOBI file wldoc: a WLDocument @@ -27,7 +27,7 @@ def transform(wldoc, verbose=False, sample=None, cover=None, epub = document.as_epub(verbose=verbose, sample=sample, html_toc=True, cover=cover or True, flags=flags, - hyphenate=hyphenate) + hyphenate=hyphenate, ilustr_path=ilustr_path, output_type='mobi') if verbose: kwargs = {} else: