Update comfy_api_nodes/util/upload_helpers.py

This commit is contained in:
Alexis Rolland 2026-07-07 15:26:37 +08:00 committed by GitHub
parent 15f94d06e9
commit 843f97b649
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,7 +163,7 @@ async def upload_video_to_comfyapi(
except Exception as e:
raise ValueError(
f"Could not convert the input video to {container.value.upper()} for upload; "
f"the file may be corrupt or use an unsupported codec. "
f"the file may be corrupted or use an unsupported codec. "
f"Try re-exporting it as MP4 (H.264). Original error: {e}"
) from e
video_bytes_io.seek(0)