Skip to content

Commit c3bed87

Browse files
sebrasjulian-smith-artifex-com
authored andcommitted
src/__init__.py: fix to work with latest mupdf 1.24.8.
Commit d4e216c updated the fns to call fz_document_handler fnprts and they have now been backported to the 1.24.x branch so here we accommodate for that.
1 parent e4420d1 commit c3bed87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2818,7 +2818,7 @@ def __init__(self, filename=None, stream=None, filetype=None, rect=None, width=0
28182818
stream = mupdf.FzStream(filename)
28192819
accel = mupdf.FzStream()
28202820
archive = mupdf.FzArchive(None)
2821-
if mupdf_version_tuple >= (1, 25):
2821+
if mupdf_version_tuple >= (1, 24, 8):
28222822
doc = mupdf.ll_fz_document_handler_open(
28232823
handler,
28242824
stream.m_internal,

0 commit comments

Comments
 (0)