From 27296565a33202c1693f72ed7425e70f761dabcc Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 24 Jul 2025 09:54:31 -0700 Subject: [PATCH] display non kindle only --- kindlecomicconverter/comic2ebook.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 7c512cf..04115c9 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -126,9 +126,10 @@ def buildHTML(path, imgfile, imgfilepath, imgfile2=None): "\n", "\n", "
\n", - # this display none div fixes formatting issues with virtual panel mode, for some reason - '
.
\n', ]) + if options.iskindle: + # this display none div fixes formatting issues with virtual panel mode, for some reason + f.write('
.
\n') f.write(f'\n') if imgfile2: f.write(f'\n')