mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix variable usage
This commit is contained in:
parent
7bf2bfd6b1
commit
422febf441
1 changed files with 2 additions and 2 deletions
|
|
@ -162,11 +162,11 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
if isinstance(file_name, clique.Collection):
|
||||
# Support sequences with holes by supplying
|
||||
# dedicated `--frames` argument to `oiiotool`
|
||||
# Create `filename` string like "file.#.exr"
|
||||
# Create `frames` string like "1001-1002,1004,1010-1012
|
||||
file_name = file_name.format("{head}#{tail}")
|
||||
# Create `filename` string like "file.#.exr"
|
||||
frames = file_name.format("{ranges}").replace(" ", "")
|
||||
frame_padding = file_name.padding
|
||||
file_name = file_name.format("{head}#{tail}")
|
||||
parallel_frames = True
|
||||
elif isinstance(file_name, str):
|
||||
# Single file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue