mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Refactor logic to use set
This commit is contained in:
parent
81c71a757f
commit
c886be22bd
1 changed files with 1 additions and 4 deletions
|
|
@ -533,10 +533,7 @@ def _get_real_files_to_render(collection, frames_to_render):
|
|||
return [
|
||||
file_name
|
||||
for file_name in file_names
|
||||
if any(
|
||||
f"{head_name}{frame}{collection.tail}" == file_name
|
||||
for frame in normalized_frames_to_render
|
||||
)
|
||||
if file_name in normalized_filenames
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue