Skip to content

Commit

Permalink
Merge pull request #75 from Esukhia/hot-fix
Browse files Browse the repository at this point in the history
fix(proofread)
  • Loading branch information
kaldan007 authored Jan 14, 2022
2 parents 923726b + 8bcca0c commit 6626872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pedurma/proofreading.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_note_pages(text_id, repo_path):
def update_note_page(text_id, page: ProofreadNotePage, repo_path=None):
new_manual_note_page = page.manual
cur_pg_num = page.page_num
(repo_path / text_id / "manual_notes" / f"{cur_pg_num}.txt").write_text(
(repo_path / text_id / "manual_notes" / f"{cur_pg_num:04}.txt").write_text(
new_manual_note_page, encoding="utf-8"
)
print(f"INFO: {cur_pg_num} updated")

0 comments on commit 6626872

Please sign in to comment.