X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/c87453a1da79443d74132398e7dd1aaa83140fee..09b0a045683b6a965e83c1512f0cc99907f2c65c:/librarian/epub.py diff --git a/librarian/epub.py b/librarian/epub.py index 95e65f1..397dc51 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -19,7 +19,7 @@ from tempfile import mkdtemp, NamedTemporaryFile from shutil import rmtree from librarian import RDFNS, WLNS, NCXNS, OPFNS, XHTMLNS, DCNS, OutputFile -from librarian.cover import DefaultEbookCover +from librarian.cover import make_cover from librarian import functions, get_resource @@ -565,7 +565,7 @@ def transform(wldoc, verbose=False, style=None, html_toc=False, if cover: if cover is True: - cover = DefaultEbookCover + cover = make_cover cover_file = StringIO() bound_cover = cover(document.book_info)