diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 73b798b..77a4c85 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -214,10 +214,6 @@ def buildNCX(dstdir, title, chapters, chapterNames): def buildOPF(dstdir, title, filelist, cover=None): opffile = os.path.join(dstdir, 'OEBPS', 'content.opf') profilelabel, deviceres, palette, gamma, panelviewsize = options.profileData - if options.quality == 1: - imgres = str(panelviewsize[0]) + "x" + str(panelviewsize[1]) - else: - imgres = str(deviceres[0]) + "x" + str(deviceres[1]) if options.righttoleft: writingmode = "horizontal-rl" else: @@ -244,7 +240,8 @@ def buildOPF(dstdir, title, filelist, cover=None): "\n" "\n", "\n", - "\n", + "\n", "\n", "\n", "\n",