1
0
mirror of https://github.com/ciromattia/kcc synced 2026-04-16 22:18:51 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Alex Xu
c26383c4b5 bump 6.3.1 2024-11-11 11:17:29 -08:00
Alex Xu
4e6ee8b59b fix bookmark drift when dedupecover is checked (#772)
* remove cover chapter as needed

* just skip cover chapter

* fix space
2024-11-11 08:19:04 -08:00
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
__version__ = '6.3.0'
__version__ = '6.3.1'
__license__ = 'ISC'
__copyright__ = '2012-2022, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>, darodi'
__docformat__ = 'restructuredtext en'

View File

@@ -532,6 +532,13 @@ def buildEPUB(path, chapternames, tomenumber, ischunked):
for aChapter in options.chapters:
pageid = aChapter[0]
if options.dedupecover:
if pageid == 0:
continue
else:
pageid -= 1
cur_diff = global_diff
global_diff = 0