From 8af029ac92e581c584657294665a7ea70fa2c536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Tue, 14 Jul 2015 17:40:33 +0200 Subject: [PATCH] Fixed MOBI header (close #149) --- kcc/comic2ebook.py | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index d8be58f..123ab49 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -313,18 +313,15 @@ def buildOPF(dstdir, title, filelist, cover=None): "portrait\n", "pre-paginated\n"]) if options.iskindle and options.profile != 'Custom': - f.writelines(["true\n", - "true\n", - "comic\n", - "true\n", - "true\n", - "true\n", - "portrait\n", - "", - str(deviceres[0]) + "x" + str(deviceres[1]) + "\n", - "" + writingmode + "\n", - "#ffffff\n", - "0\n"]) + f.writelines(["\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n"]) f.writelines(["\n\n\n", "