We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4bf78 commit 2080202Copy full SHA for 2080202
pdfly/extract_annotated_pages.py
@@ -15,7 +15,7 @@ def is_manipulable(annot) -> bool:
15
16
17
# Main function.
18
-def main(input_pdf: Path, output_pdf: Path | None) -> None:
+def main(input_pdf: Path, output_pdf: Optional[Path]) -> None:
19
if not output_pdf:
20
output_pdf = input_pdf.with_name(input_pdf.stem + "_annotated.pdf")
21
input = PdfReader(input_pdf)
0 commit comments