mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
format
This commit is contained in:
parent
63c15dc3ba
commit
dc9c0dbfbe
|
@ -472,7 +472,6 @@ def _write_multiple_frames(im, fp, palette):
|
|||
else:
|
||||
bbox = None
|
||||
im_frames.append({"im": im_frame, "bbox": bbox, "encoderinfo": encoderinfo})
|
||||
|
||||
# see: https://github.com/python-pillow/Pillow/issues/4002
|
||||
if len(im_frames) == 1 and "duration" in im_frames[0]["encoderinfo"]:
|
||||
im.encoderinfo["duration"] = im_frames[0]["encoderinfo"]["duration"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user