MapReader icon indicating copy to clipboard operation
MapReader copied to clipboard

Adding in fallback option when trying to remove temporary folders

Open kallewesterling opened this issue 1 year ago • 2 comments

Summary

@SWright2024 reported a problem where the removal of the temporary path caused a PermissionError. (Another possible error would be OSError.)

This PR creates a fallback option where there is a 5 second wait before trying again. If it's still an issue, the same error will be raised.

Fixes #442

Describe your changes

  • [X] Adding in time.sleep(5) on PermissionError/OSError

Reviewer checklist

Please add anything you want reviewers to specifically focus/comment on.

  • [ ] Everything looks ok?

kallewesterling avatar Jul 09 '24 13:07 kallewesterling