Fix the bug causing the Prompt Saver node fails to save images in jpg and webp formats #10

This commit is contained in:
Rhys Yang
2023-11-01 02:38:15 +08:00
parent 61c0487744
commit b68ed7d7fa
+1 -1
View File
@@ -383,7 +383,7 @@ class SDPromptSaver:
},
}
)
piexif.insert(metadata, str(file))
piexif.insert(metadata, str(output_folder / file))
results.append(
{"filename": file.name, "subfolder": str(subfolder), "type": self.type}
)