mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
fix sequence padding
This commit is contained in:
parent
b04b464541
commit
13fb2409ed
1 changed files with 1 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Redshift Proxy extractor."""
|
||||
import os
|
||||
import math
|
||||
|
||||
import avalon.maya
|
||||
import openpype.api
|
||||
|
|
@ -45,7 +44,7 @@ class ExtractRedshiftProxy(openpype.api.Extractor):
|
|||
# Padding is taken from number of digits of the end_frame.
|
||||
# Not sure where Redshift is taking it.
|
||||
repr_files = [
|
||||
"{}.{}{}".format(root, str(frame).rjust(int(math.log10(int(end_frame)) + 1), "0"), ext) # noqa: E501
|
||||
"{}.{}{}".format(root, str(frame).rjust(4, "0"), ext) # noqa: E501
|
||||
for frame in range(
|
||||
int(start_frame),
|
||||
int(end_frame) + 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue