mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
check for availability that don't live in workdir
This commit is contained in:
parent
fd1fc7bdfd
commit
47af183d04
1 changed files with 4 additions and 1 deletions
|
|
@ -1155,12 +1155,15 @@ class IWorkfileHost:
|
||||||
comment = parsed_data.comment
|
comment = parsed_data.comment
|
||||||
|
|
||||||
filepath = list_workfiles_context.anatomy.fill_root(rootless_path)
|
filepath = list_workfiles_context.anatomy.fill_root(rootless_path)
|
||||||
|
available = False
|
||||||
|
if filepath != rootless_path:
|
||||||
|
available = os.path.exists(filepath)
|
||||||
items.append(WorkfileInfo.new(
|
items.append(WorkfileInfo.new(
|
||||||
filepath,
|
filepath,
|
||||||
rootless_path,
|
rootless_path,
|
||||||
version=version,
|
version=version,
|
||||||
comment=comment,
|
comment=comment,
|
||||||
available=False,
|
available=available,
|
||||||
workfile_entity=workfile_entity,
|
workfile_entity=workfile_entity,
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue