remove redundant

This commit is contained in:
w-e-w 2023-06-01 06:34:53 +09:00
parent 72f6367b9b
commit 0bf09c30c6
1 changed files with 0 additions and 2 deletions

View File

@ -503,8 +503,6 @@ def save_image_with_geninfo(image, geninfo, filename, extension=None, existing_p
image_format = Image.registered_extensions()[extension] image_format = Image.registered_extensions()[extension]
existing_pnginfo = existing_pnginfo or {}
if extension.lower() == '.png': if extension.lower() == '.png':
if opts.enable_pnginfo: if opts.enable_pnginfo:
pnginfo_data = PngImagePlugin.PngInfo() pnginfo_data = PngImagePlugin.PngInfo()