Skip to content

Commit

Permalink
Intercept non-existing /Contents object
Browse files Browse the repository at this point in the history
  • Loading branch information
JorjMcKie committed Aug 28, 2024
1 parent cec5119 commit 9c19e27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17007,6 +17007,8 @@ def JM_read_contents(pageref):
mupdf.fz_append_buffer(res, nres)
elif contents.m_internal:
res = mupdf.pdf_load_stream(contents)
else:
res = b""
return res


Expand Down

0 comments on commit 9c19e27

Please sign in to comment.