mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-15 23:50:05 +08:00
print("image_save_function is None")
This commit is contained in:
parent
57e11c99eb
commit
5905b405b8
@ -325,8 +325,10 @@ class PromptServer():
|
||||
|
||||
if not image_is_duplicate:
|
||||
if image_save_function is not None:
|
||||
print("image_save_function is not None")
|
||||
image_save_function(image, post, filepath)
|
||||
else:
|
||||
print("image_save_function is None")
|
||||
with open(filepath, "wb") as f:
|
||||
f.write(image.file.read())
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user