Removed code not required by tests

This commit is contained in:
Andrew Murray 2019-06-29 23:02:17 +10:00
parent c3e982e0c6
commit 3e4db05249

View File

@ -471,9 +471,6 @@ def _write_multiple_frames(im, fp, palette):
if len(im_frames) > 1:
for frame_data in im_frames:
im_frame = frame_data["im"]
if("disposal" in frame_data["encoderinfo"]
and frame_data["encoderinfo"]["disposal"] == 2):
frame_data['encoderinfo']['include_color_table'] = True
if not frame_data["bbox"]:
# global header
for s in _get_global_header(im_frame, frame_data["encoderinfo"]):