mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update openpype/hosts/flame/plugins/publish/extract_subset_resources.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
f4ece8fd5e
commit
2563a7ce60
1 changed files with 4 additions and 10 deletions
|
|
@ -218,16 +218,10 @@ class ExtractSubsetResources(openpype.api.Extractor):
|
|||
# imagesequence as list
|
||||
if (
|
||||
# first check if path in files is not mov extension
|
||||
next(
|
||||
# iter all paths in files
|
||||
# return only .mov positive test
|
||||
iter([
|
||||
f for f in files
|
||||
if ".mov" in os.path.splitext(f)[-1]
|
||||
]),
|
||||
# if nothing return default
|
||||
None
|
||||
)
|
||||
[
|
||||
f for f in files
|
||||
if os.path.splitext(f)[-1] == ".mov"
|
||||
]
|
||||
# then try if thumbnail is not in unique name
|
||||
or unique_name == "thumbnail"
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue