mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-13 01:26:59 +08:00
fix
This commit is contained in:
parent
7f256fa283
commit
059b8ee07e
@ -270,7 +270,7 @@ class PromptServer():
|
||||
else:
|
||||
with open(filepath, "wb") as f:
|
||||
print(f"Saving raw file to: {filepath}")
|
||||
f.write(file_content.read())
|
||||
f.write(file_content)
|
||||
return web.json_response({"name": filename, "subfolder": subfolder, "type": image_upload_type})
|
||||
else:
|
||||
print("No image provided in the post data")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user