mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Merged in bugfix/PYPE-459_workdir_not_created (pull request #244)
bugfix/PYPE-459_workdir_not_created Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
commit
9d760eb789
1 changed files with 7 additions and 1 deletions
|
|
@ -225,7 +225,13 @@ class AppAction(BaseHandler):
|
|||
self.log.exception(
|
||||
"{0} Error in anatomy.format: {1}".format(__name__, e)
|
||||
)
|
||||
os.environ["AVALON_WORKDIR"] = os.path.normpath(work_template)
|
||||
|
||||
workdir = os.path.normpath(work_template)
|
||||
os.environ["AVALON_WORKDIR"] = workdir
|
||||
try:
|
||||
os.makedirs(workdir)
|
||||
except FileExistsError:
|
||||
pass
|
||||
|
||||
# collect all parents from the task
|
||||
parents = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue