mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
fix: Update filename formatting in save_images method to ensure unique filenames for batch images
This commit is contained in:
@@ -335,7 +335,7 @@ class SaveImage:
|
|||||||
if add_counter_to_filename:
|
if add_counter_to_filename:
|
||||||
# Use counter + i to ensure unique filenames for all images in batch
|
# Use counter + i to ensure unique filenames for all images in batch
|
||||||
current_counter = counter + i
|
current_counter = counter + i
|
||||||
base_filename += f"_{current_counter:05}"
|
base_filename += f"_{current_counter:05}_"
|
||||||
|
|
||||||
# Set file extension and prepare saving parameters
|
# Set file extension and prepare saving parameters
|
||||||
if file_format == "png":
|
if file_format == "png":
|
||||||
|
|||||||
Reference in New Issue
Block a user