X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/716a9ab552bffbb7df2cb31ae41ee196902c7653..3eeb653bf9948d69c8290fd453b638bb783ab084:/src/librarian/mobi.py?ds=sidebyside diff --git a/src/librarian/mobi.py b/src/librarian/mobi.py index a4eef5c..d6c2515 100644 --- a/src/librarian/mobi.py +++ b/src/librarian/mobi.py @@ -14,7 +14,7 @@ from librarian import OutputFile def transform(wldoc, verbose=False, sample=None, cover=None, - use_kindlegen=False, flags=None, hyphenate=True, ilustr_path='', + use_kindlegen=False, flags=None, hyphenate=True, base_url='', converter_path=None): """ produces a MOBI file @@ -30,8 +30,8 @@ def transform(wldoc, verbose=False, sample=None, cover=None, del wldoc epub = document.as_epub(verbose=verbose, sample=sample, - html_toc=True, cover=cover or True, flags=flags, - hyphenate=hyphenate, ilustr_path=ilustr_path, + cover=cover or True, flags=flags, + hyphenate=hyphenate, base_url=base_url, output_type='mobi') if verbose: kwargs = {}