Fix page numbering starting from zero

This commit is contained in:
Marty Oehme 2022-12-22 21:42:56 +01:00
parent 9496a626c0
commit 86d06d7518
Signed by: Marty
GPG Key ID: 73BA40D5AFAF49C9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class ExtractPlugin(PapersPlugin):
"\n", "" "\n", ""
) )
if content: if content:
annotations.append(f"[{page.number}] {content}") annotations.append(f"[{(page.number or 0) + 1}] {content}")
return annotations return annotations
def _to_stdout(self, annotated_papers): def _to_stdout(self, annotated_papers):