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

If an error occurs after creating a file, remove the file #6134

Merged
merged 1 commit into from Mar 24, 2022

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Mar 14, 2022

Helps #5944. Alternative to #5947

If an error occurs after creating a file, remove the file, rather than leaving a potentially corrupt image on disk.

@hugovk hugovk merged commit 9134f07 into python-pillow:main Mar 24, 2022
@radarhere radarhere deleted the created_cleanup branch March 24, 2022 07:21
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.

None yet

2 participants