diff --git a/src/calibre/srv/render_book.py b/src/calibre/srv/render_book.py index 8c4d1c52b1..55fc5b6b8e 100644 --- a/src/calibre/srv/render_book.py +++ b/src/calibre/srv/render_book.py @@ -19,16 +19,13 @@ from css_parser.css import CSSRule from calibre import force_unicode, prepare_string_for_xml from calibre.ebooks import parse_css_length from calibre.ebooks.css_transform_rules import StyleDeclaration -from calibre.ebooks.metadata import authors_to_string from calibre.ebooks.oeb.base import ( EPUB_NS, OEB_DOCS, OEB_STYLES, OPF, XHTML, XHTML_NS, XLINK, XPath, rewrite_links, urlunquote ) from calibre.ebooks.oeb.iterator.book import extract_book from calibre.ebooks.oeb.polish.container import Container as ContainerBase -from calibre.ebooks.oeb.polish.cover import ( - find_cover_image, find_cover_page, set_epub_cover -) +from calibre.ebooks.oeb.polish.cover import find_cover_image, set_epub_cover from calibre.ebooks.oeb.polish.css import transform_css from calibre.ebooks.oeb.polish.toc import get_landmarks, get_toc from calibre.ebooks.oeb.polish.utils import extract, guess_type @@ -269,14 +266,19 @@ class Container(ContainerBase): }