mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
hound
This commit is contained in:
parent
af87fdf657
commit
da93e19ca9
1 changed files with 7 additions and 3 deletions
|
|
@ -145,12 +145,16 @@ class ExtractYetiRig(publish.Extractor):
|
|||
if resource["files"]:
|
||||
for file in resource['files']:
|
||||
src = file
|
||||
dst = os.path.join(image_search_path, os.path.basename(file))
|
||||
dst = os.path.join(
|
||||
image_search_path, os.path.basename(file))
|
||||
instance.data['transfers'].append([src, dst])
|
||||
else:
|
||||
for file in resource['source']:
|
||||
src = file if os.path.isabs(file) else os.path.abspath(file)
|
||||
dst = os.path.join(image_search_path, os.path.basename(file))
|
||||
src = (
|
||||
file if os.path.isabs(file) else os.path.abspath(file)
|
||||
)
|
||||
dst = os.path.join(
|
||||
image_search_path, os.path.basename(file))
|
||||
instance.data['transfers'].append([src, dst])
|
||||
|
||||
self.log.debug("adding transfer {} -> {}". format(src, dst))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue