mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
return values
This commit is contained in:
parent
653b170385
commit
533f4145bb
|
@ -492,7 +492,7 @@ def _save(im, fp, tile, bufsize=0):
|
|||
e.setimage(im.im, b)
|
||||
if e.pushes_fd:
|
||||
e.setfd(fp)
|
||||
e.encode_to_pyfd()
|
||||
l,s = e.encode_to_pyfd()
|
||||
else:
|
||||
s = e.encode_to_file(fh, bufsize)
|
||||
if s < 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user