mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Perform actual type hint
This commit is contained in:
parent
11ecc69b35
commit
f9ca97ec71
1 changed files with 1 additions and 1 deletions
|
|
@ -1228,7 +1228,7 @@ def oiio_color_convert(
|
|||
# Get oiioinfo only from first image, otherwise file can't be found
|
||||
first_input_path = input_path
|
||||
if frames:
|
||||
assert isinstance(frames, str) # for type hints
|
||||
frames: str
|
||||
first_frame = int(re.split("[ x-]", frames, 1)[0])
|
||||
first_frame = str(first_frame).zfill(frame_padding or 0)
|
||||
for token in ["#", "%d"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue