Skip to content

Create non-existent folders when saving images #64

@jordanbtucker

Description

@jordanbtucker

When I set the filename prefix to testing/dog or testing\dog, no images are saved to the output folder. Instead, an error is logged in the console.

FileNotFoundError: [Errno 2] No such file or directory: '...\\ComfyUI\\output\\testing\\dog_00001_.png'

Creating a testing folder in output fixes the error. It would be great if ComfyUI could create any missing folders for the user instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions