Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race when preparing download location
If multiple threads start their downloads into the same directory, they can call os.mkdirs at the same time, leading to "File exists" exceptions and subsequent failures to download some files. Fix this by supplying an exist_ok argument and removing the racy isdir check.
- Loading branch information