fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove DateValue, drop Py<3.6, fix tests.
[librarian.git]
/
src
/
librarian
/
mobi.py
diff --git
a/src/librarian/mobi.py
b/src/librarian/mobi.py
index
6f1f5d6
..
d6c2515
100644
(file)
--- 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,
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
converter_path=None):
""" produces a MOBI file
@@
-30,8
+30,9
@@
def transform(wldoc, verbose=False, sample=None, cover=None,
del wldoc
epub = document.as_epub(verbose=verbose, sample=sample,
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, output_type='mobi')
+ cover=cover or True, flags=flags,
+ hyphenate=hyphenate, base_url=base_url,
+ output_type='mobi')
if verbose:
kwargs = {}
else:
if verbose:
kwargs = {}
else: