Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packMediaDB: fix os.makedirs for existing dirs
Ref: os.makedirs(tempfolder, exist_ok=True)
- Loading branch information
06242c8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the call of
tempfile.mkdtemp()
might make os.makedirs() redundant and thus provoke an error if the already existing path is not ok (param:exist_ok
avoid it)