Skip to content

Commit afa0550

Browse files
committed
Return don't just call process()
1 parent f595dd0 commit afa0550

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/custom_processing/bake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ def process_document(document: PDFBakerDocument) -> None:
3232
}
3333

3434
# Process as usual
35-
document.process()
35+
return document.process()
3636
except Exception as exc:
3737
raise PDFBakeError(f"Failed to process XKCD example: {exc}") from exc

0 commit comments

Comments
 (0)