mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
use re.sub in the function for review frame sequence name
This commit is contained in:
parent
aef56b7cd3
commit
13b46070fe
1 changed files with 2 additions and 3 deletions
|
|
@ -818,9 +818,8 @@ class ExporterReviewMov(ExporterReview):
|
|||
self.file = self.fhead + self.name + ".{}".format(self.ext)
|
||||
if ".{}".format(self.ext) not in VIDEO_EXTENSIONS:
|
||||
filename = os.path.basename(self.path_in)
|
||||
self.file = self.fhead + self.name + ".{}".format(
|
||||
filename.split(".", 1)[-1]
|
||||
)
|
||||
self.file = re.sub(
|
||||
self.fhead, self.fhead + self.name + ".", filename)
|
||||
# make sure the filename are in
|
||||
# correct image output format
|
||||
if not self.file.endswith(".{}".format(ext)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue