mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #908 from ynput/bugfix/AY-6779_Deadline-Maya-publish-fails-with-Given-file-names-contain-full-paths
Fix: Not removing absolute path in Maya DL submission
This commit is contained in:
commit
cf7d794feb
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue