mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 01:36:41 +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 not image_is_duplicate:
|
||||||
if image_save_function is not None:
|
if image_save_function is not None:
|
||||||
|
print("image_save_function is not None")
|
||||||
image_save_function(image, post, filepath)
|
image_save_function(image, post, filepath)
|
||||||
else:
|
else:
|
||||||
|
print("image_save_function is None")
|
||||||
with open(filepath, "wb") as f:
|
with open(filepath, "wb") as f:
|
||||||
f.write(image.file.read())
|
f.write(image.file.read())
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user