fix: correct pdfium() on playa.Document created from file #11
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dhd/paves!11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pdfium_on_document"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We still use
_fpif it's there, which may or may not be a good idea, but otherwise we can, and will, simply wrap aBytesIOaroundpdf.buffer, which works quite well.Also use a context manager to remove calls to
doc.close()though sadly we can't do this forpage.close()too.