mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #353 from pypeclub/bugfix/last_workfile_existence_check
Bugfix/last workfile existence check
This commit is contained in:
commit
b00d4647c0
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ class AppAction(BaseAction):
|
|||
"AVALON_HIERARCHY": hierarchy,
|
||||
"AVALON_WORKDIR": workdir
|
||||
})
|
||||
if last_workfile_path:
|
||||
if last_workfile_path and os.path.exists(last_workfile_path):
|
||||
prep_env["AVALON_LAST_WORKFILE"] = last_workfile_path
|
||||
prep_env.update(anatomy.roots_obj.root_environments())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue