mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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(
|
||||
workfile_representation, anatomy
|
||||
)
|
||||
if (not last_published_workfile_path or
|
||||
not os.path.exists(last_published_workfile_path)):
|
||||
if not last_published_workfile_path:
|
||||
return
|
||||
|
||||
# If representation isn't available on remote site, then return.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue