Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use context manager for temporary file (#865)
Fix for an issue during a file removal (occurs in Windows): Use tempfile.NamedTemporaryFile as a context manager, which handles close/removal of the file automatically, and will also clean up the file if an error occurs during export.
- Loading branch information