Update openpype/pipeline/tempdir.py

Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
Jakub Ježek 2023-02-13 12:43:30 +01:00 committed by GitHub
parent 053a903662
commit 7ea78fee7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ def create_custom_tempdir(project_name, anatomy=None):
# create the dir path if it doesn't exists
if not os.path.exists(custom_tempdir):
try:
# create it if it doesnt exists
# create it if it doesn't exists
os.makedirs(custom_tempdir)
except IOError as error:
raise IOError("Path couldn't be created: {}".format(error)) from error