mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Fix #368
This commit is contained in:
parent
fa8be8acd6
commit
3e1f9ab8b3
@ -299,7 +299,7 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i
|
|||||||
|
|
||||||
if existing_info is not None:
|
if existing_info is not None:
|
||||||
for k, v in existing_info.items():
|
for k, v in existing_info.items():
|
||||||
pnginfo.add_text(k, v)
|
pnginfo.add_text(k, str(v))
|
||||||
|
|
||||||
pnginfo.add_text(pnginfo_section_name, info)
|
pnginfo.add_text(pnginfo_section_name, info)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user