mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
celaction last workfile
was not detecting last workfile version properly
This commit is contained in:
parent
bd6717fe20
commit
8f7509d824
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