aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-01 06:34:53 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-01 06:34:53 +0900
commit0bf09c30c608ebe63fb154bd197e4baad978de63 (patch)
tree6ea54366b9dce8012477145f890217b6fe4d54cd /modules
parent72f6367b9b34a1aa3f8743f4d9c2407bb9d2afeb (diff)
remove redundant
Diffstat (limited to 'modules')
-rw-r--r--modules/images.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/images.py b/modules/images.py
index 0760284b..a12d252b 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -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()