Skip to content

Use os.makedirs(..., exist_ok=True)#11199

Merged
AUTOMATIC1111 merged 1 commit into
AUTOMATIC1111:release_candidatefrom
akx:makedirs
Jun 27, 2023
Merged

Use os.makedirs(..., exist_ok=True)#11199
AUTOMATIC1111 merged 1 commit into
AUTOMATIC1111:release_candidatefrom
akx:makedirs

Conversation

@akx

@akx akx commented Jun 13, 2023

Copy link
Copy Markdown
Collaborator

Description

Small incidental fixup to just use os.makedirs(..., exist_ok=True) instead of checking separately.

Checklist:

@akx akx marked this pull request as ready for review June 13, 2023 09:42
@akx akx requested a review from AUTOMATIC1111 as a code owner June 13, 2023 09:42

@lastYoueven lastYoueven left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all is file 'if !exit(file_path) os.mkdir()' to os. makedirs()

@AUTOMATIC1111 AUTOMATIC1111 changed the base branch from dev to release_candidate June 27, 2023 03:39
@AUTOMATIC1111 AUTOMATIC1111 merged commit a9e7a3d into AUTOMATIC1111:release_candidate Jun 27, 2023
@akx akx deleted the makedirs branch June 27, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants