]> git.parisson.com Git - telemeta.git/commitdiff
epub: no guide for the moment
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 15 Jun 2015 07:45:32 +0000 (09:45 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 15 Jun 2015 07:45:32 +0000 (09:45 +0200)
telemeta/views/epub.py

index 34390b76ce89d46b73b158eaa7f6d38696b4baef..3e6f28efb12217fef96bf3b9f5540fa41243d35f 100644 (file)
@@ -189,11 +189,11 @@ class BaseEpubMixin(TelemetaBaseMixin):
         self.book.add_item(cover)
         self.book.spine.insert(0, cover)
 
-        self.book.guide.insert(0, {
-        "type"  : "cover",
-        "href"  : cover.file_name,
-        "title" : cover.title,
-        })
+        self.book.guide.insert(0, {
+        "type"  : "cover",
+        "href"  : cover.file_name,
+        "title" : cover.title,
+        })
 
         # write epub file
         epub.write_epub(self.path, self.book, {})