mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 17:02:43 +01:00
Fix for add_chapter_numbers:toconly and unnew. Closes #1274
This commit is contained in:
parent
a4a91b373f
commit
0a3ab4bc9d
1 changed files with 1 additions and 0 deletions
|
|
@ -380,6 +380,7 @@ def reset_orig_chapters_epub(inputio,outfile):
|
||||||
tag = soup.find('meta',{'name':'chaptertoctitle'})
|
tag = soup.find('meta',{'name':'chaptertoctitle'})
|
||||||
if tag:
|
if tag:
|
||||||
chaptertoctitle = tag['content']
|
chaptertoctitle = tag['content']
|
||||||
|
else:
|
||||||
chaptertoctitle = chapterorigtitle
|
chaptertoctitle = chapterorigtitle
|
||||||
|
|
||||||
chaptertitle = None
|
chaptertitle = None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue