From 3e4db05249dd4d409243668bcd377034bf40abc8 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 29 Jun 2019 23:02:17 +1000 Subject: [PATCH] Removed code not required by tests --- src/PIL/GifImagePlugin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/PIL/GifImagePlugin.py b/src/PIL/GifImagePlugin.py index d6d646c59..d541483b8 100644 --- a/src/PIL/GifImagePlugin.py +++ b/src/PIL/GifImagePlugin.py @@ -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"]):