Skip to content

Commit

Permalink
Merge pull request #908 from ynput/bugfix/AY-6779_Deadline-Maya-publi…
Browse files Browse the repository at this point in the history
…sh-fails-with-Given-file-names-contain-full-paths

Fix: Not removing absolute path in Maya DL submission
  • Loading branch information
kalisp authored Sep 24, 2024
2 parents a7977ad + 722bf4d commit cf7d794
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/ayon_core/pipeline/farm/pyblish_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,11 @@ def _create_instances_for_aov(instance, skeleton, aov_filter, additional_data,
colorspace = product.colorspace
break

if isinstance(files, (list, tuple)):
files = [os.path.basename(f) for f in files]
else:
files = os.path.basename(files)

rep = {
"name": ext,
"ext": ext,
Expand Down

0 comments on commit cf7d794

Please sign in to comment.