Skip to content

Commit

Permalink
Comment out a debug statement
Browse files Browse the repository at this point in the history
Comment out a debug statement, so that PyMuPDF does not write to stdout
whenever a user initializes a Pixmap object.

Refs #3135
  • Loading branch information
apyrgio authored and julian-smith-artifex-com committed Mar 8, 2024
1 parent 19cf5f3 commit 4eb95c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9630,7 +9630,7 @@ def __init__(self, *args):
pm = mupdf.fz_new_pixmap(cs, w, h, seps, alpha)

if isinstance( samples, (bytes, bytearray)):
log('using mupdf.python_buffer_data()')
#log('using mupdf.python_buffer_data()')
samples2 = mupdf.python_buffer_data(samples)
size = len(samples)
else:
Expand Down

0 comments on commit 4eb95c5

Please sign in to comment.