aboutsummaryrefslogtreecommitdiff
path: root/modules/extras.py
diff options
context:
space:
mode:
authorBruno Seoane <brunoseoaneamarillo@gmail.com>2022-10-24 08:32:18 -0300
committerBruno Seoane <brunoseoaneamarillo@gmail.com>2022-10-24 08:32:18 -0300
commit595dca85af9e26b5d76cd64659a5bdd9da4f2b89 (patch)
tree23c88ac8038123d9acf0c19c029c7fc4865ef155 /modules/extras.py
parent90f02c75220d187e075203a4e3b450bfba392c4d (diff)
Reverse run_extras change
Update serialization on the batch images endpoint
Diffstat (limited to 'modules/extras.py')
-rw-r--r--modules/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extras.py b/modules/extras.py
index 29ac312e..22c5a1c1 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -33,7 +33,7 @@ def run_extras(extras_mode, resize_mode, image, image_folder, input_dir, output_
for img in image_folder:
image = Image.open(img)
imageArr.append(image)
- imageNameArr.append(os.path.splitext(img.name)[0])
+ imageNameArr.append(os.path.splitext(img.orig_name)[0])
elif extras_mode == 2:
assert not shared.cmd_opts.hide_ui_dir_config, '--hide-ui-dir-config option must be disabled'