mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-08 12:35:30 +08:00
Remove extra newlines
This commit is contained in:
parent
54c99a0d02
commit
5ad716d8c8
2
nodes.py
2
nodes.py
@ -1634,9 +1634,7 @@ class SaveImage:
|
|||||||
metadata.add(name, data)
|
metadata.add(name, data)
|
||||||
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
||||||
file = f"{filename_with_batch_num}_{counter:05}_.png"
|
file = f"{filename_with_batch_num}_{counter:05}_.png"
|
||||||
|
|
||||||
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)
|
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)
|
||||||
|
|
||||||
results.append({
|
results.append({
|
||||||
"filename": file,
|
"filename": file,
|
||||||
"subfolder": subfolder,
|
"subfolder": subfolder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user