Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fix: Fixed FileExistsError (#1187)
Summary: Fixed bug where multiple workers try to write to the same folder that doesn't exist yet, it causes a FileExistsError because a different work already created the directory structure. Fixes #{1186} ### Changes - Removed if statement which checks if `dirname` exists and modified to use built-in `os.makedirs` feature for checking if `dirname` exists Pull Request resolved: #1187 Reviewed By: ejguan Differential Revision: D55278447 Pulled By: gokulavasan fbshipit-source-id: 50088457cce3d0b5c62529b5290d45f31ce0144f
- Loading branch information