Skip to content

Commit

Permalink
Update client/ayon_core/pipeline/farm/pyblish_functions.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Trllo <[email protected]>
  • Loading branch information
antirotor and iLLiCiTiT authored Aug 19, 2024
1 parent cb4af77 commit e784c00
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions client/ayon_core/pipeline/farm/pyblish_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,12 +855,11 @@ def _collect_expected_files_for_aov(files):
"to render, don't know what to do "
"with them.")
return rem[0]
else:
# but we really expect only one collection.
# Nothing else make sense.
if len(cols) != 1:
raise ValueError("Only one image sequence type is expected.") # noqa: E501
return list(cols[0])
# but we really expect only one collection.
# Nothing else make sense.
if len(cols) != 1:
raise ValueError("Only one image sequence type is expected.") # noqa: E501
return list(cols[0])


def get_resources(project_name, version_entity, extension=None):
Expand Down

0 comments on commit e784c00

Please sign in to comment.