remove redundant
This commit is contained in:
parent
72f6367b9b
commit
0bf09c30c6
|
@ -503,8 +503,6 @@ def save_image_with_geninfo(image, geninfo, filename, extension=None, existing_p
|
|||
|
||||
image_format = Image.registered_extensions()[extension]
|
||||
|
||||
existing_pnginfo = existing_pnginfo or {}
|
||||
|
||||
if extension.lower() == '.png':
|
||||
if opts.enable_pnginfo:
|
||||
pnginfo_data = PngImagePlugin.PngInfo()
|
||||
|
|
Loading…
Reference in New Issue