Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

akx
Copy link
Collaborator

@akx akx commented Jun 13, 2023

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
Copy link

@lastYoueven lastYoueven left a comment

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