From 9649d7ea92c5caa77975cf2e3405af5fdf7e982f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20B=C5=82aut?= Date: Thu, 27 Feb 2014 12:43:20 +0100 Subject: [PATCH] [epub] fix for calibre warning - cover does not need linear=no attribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Calibre said „There are items marked as non-linear in the . These will be displayed in random order by different ebook readers. Some will ignore the non-linear attribute, some will display them at the end or the beginning of the book and some will fail to display them at all. Instead of using non-linear items simply place the items in the order you want them to be displayed.” --- librarian/epub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librarian/epub.py b/librarian/epub.py index 81dcb6e..6377526 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -499,7 +499,7 @@ def transform(wldoc, verbose=False, '')) manifest.append(etree.fromstring( '' % (cover_name, bound_cover.mime_type()))) - spine.insert(0, etree.fromstring('')) + spine.insert(0, etree.fromstring('')) opf.getroot()[0].append(etree.fromstring('')) guide.append(etree.fromstring('')) -- 2.20.1