Skip to content

Commit

Permalink
Fix Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangxx3863 committed Jun 24, 2022
1 parent 1a2796d commit 7b065e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilinovel2epub.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def 写到书本(title, 作者, 内容, 封面文件名, 封面文件, 图片路
console.print("章节: " + 章节[0])
文件序号 += 1
单页 = epub.EpubHtml(title = 章节[0],
file_name = f"{文件序号}_{章节[0]}.xhtml",
file_name = f"{文件序号}.xhtml",
lang = "zh")
章节名 = "<h2>" + 章节[0] + "</h2>"
写入内容 = 写入内容 + 章节名 + str(章节[1]).replace("<div class=\"acontent\" id=\"acontent\">", "")
Expand Down

0 comments on commit 7b065e0

Please sign in to comment.