mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Refactor code to use deep copy for repre_files_thumb variable
This commit is contained in:
parent
b97c943b00
commit
f31cfe9cf5
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
# if it is not video file then just use first file
|
||||
input_file = repre_files
|
||||
else:
|
||||
repre_files_thumb = copy(repre_files)
|
||||
repre_files_thumb = copy.deepcopy(repre_files)
|
||||
# exclude first frame if slate in representation tags
|
||||
if "slate-frame" in repre.get("tags", []):
|
||||
repre_files_thumb = repre_files_thumb[1:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue