Skip to content

Commit

Permalink
man/build_topics: write_footer need to be inside keyfile context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Nov 17, 2024
1 parent 220e56d commit e6402ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/build_topics.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ def build_topics(ext):
)
)

write_footer(keyfile, f"index.{ext}", year, template=ext)
write_footer(keyfile, f"index.{ext}", year, template=ext)

if ext == "html":
topicsfile.write("</ul>\n")
write_footer(topicsfile, f"index.{ext}", year, template=ext)
Expand Down

0 comments on commit e6402ed

Please sign in to comment.