In move_nav_to_end, add nav to spine if not present.
This commit is contained in:
parent
0004b53032
commit
87f1de1dc5
1 changed files with 3 additions and 1 deletions
|
@ -839,8 +839,10 @@ class Epub:
|
|||
if id == nav:
|
||||
spine.append(spine.pop(index))
|
||||
break
|
||||
self.set_spine_order(spine)
|
||||
else:
|
||||
spine.append(nav)
|
||||
|
||||
self.set_spine_order(spine)
|
||||
self.set_spine_linear(nav, False)
|
||||
|
||||
def normalize_directory_structure(self):
|
||||
|
|
Loading…
Reference in a new issue