fix(plugin): python error
This commit is contained in:
parent
498374195d
commit
ee8efd0b6b
@ -342,7 +342,7 @@ async def update_run_with_output(prompt_id, data, node_id=None):
|
|||||||
|
|
||||||
files = data.get('files', [])
|
files = data.get('files', [])
|
||||||
for file in files:
|
for file in files:
|
||||||
await upload_file(prompt_id, file.get("filename"), subfolder=file.get("subfolder"), type=file.get("type"), content_type=image.get("content_type", "image/png"))
|
await upload_file(prompt_id, file.get("filename"), subfolder=file.get("subfolder"), type=file.get("type"), content_type=file.get("content_type", "image/png"))
|
||||||
|
|
||||||
if have_upload:
|
if have_upload:
|
||||||
await update_file_status(prompt_id, data, False, node_id=node_id)
|
await update_file_status(prompt_id, data, False, node_id=node_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user