Skip to content

Commit

Permalink
文档:修复目录
Browse files Browse the repository at this point in the history
  • Loading branch information
ACaiCat authored May 3, 2024
1 parent 7a3d6e1 commit d9aaa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def md_to_pdf(file_name):
file_list = sorted([f for f in os.listdir("Document") if f.endswith('.md')])

# 创建或打开README.md文件
with open('README.md', 'r+') as outfile:
with open('README.md', 'a') as outfile:
for fname in file_list:
with open(os.path.join("Document", fname)) as infile:
# 将每个文件的内容写入README.md
Expand Down

0 comments on commit d9aaa97

Please sign in to comment.