mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge branch 'hotfix/celaction_last_workfiles_avalon_env'
This commit is contained in:
commit
aefa1e4fc0
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ class CelactionPrelaunchHook(PypeHook):
|
|||
self.log.info(f"Work dir is: `{workdir}`")
|
||||
|
||||
# get last version of workfile
|
||||
workfile_last = get_last_version_from_path(
|
||||
workdir, workfile.split(version))
|
||||
workfile_last = env.get("AVALON_LAST_WORKFILE")
|
||||
self.log.debug(f"_ workfile_last: `{workfile_last}`")
|
||||
|
||||
if workfile_last:
|
||||
workfile = workfile_last
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue