mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +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)
|
e.setimage(im.im, b)
|
||||||
if e.pushes_fd:
|
if e.pushes_fd:
|
||||||
e.setfd(fp)
|
e.setfd(fp)
|
||||||
e.encode_to_pyfd()
|
l,s = e.encode_to_pyfd()
|
||||||
else:
|
else:
|
||||||
s = e.encode_to_file(fh, bufsize)
|
s = e.encode_to_file(fh, bufsize)
|
||||||
if s < 0:
|
if s < 0:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user