mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Fix: Download last workfile doesn't work if wf not already downloaded (#4942)
This commit is contained in:
parent
a8bce5a28e
commit
87802d0620
1 changed files with 1 additions and 2 deletions
|
|
@ -237,8 +237,7 @@ def download_last_published_workfile(
|
||||||
last_published_workfile_path = get_representation_path_with_anatomy(
|
last_published_workfile_path = get_representation_path_with_anatomy(
|
||||||
workfile_representation, anatomy
|
workfile_representation, anatomy
|
||||||
)
|
)
|
||||||
if (not last_published_workfile_path or
|
if not last_published_workfile_path:
|
||||||
not os.path.exists(last_published_workfile_path)):
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# If representation isn't available on remote site, then return.
|
# If representation isn't available on remote site, then return.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue