mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
fix bookmark drift when dedupecover is checked (#772)
* remove cover chapter as needed * just skip cover chapter * fix space
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user