fix(global): dealing with extension properly

This commit is contained in:
Jakub Jezek 2020-01-13 02:26:09 +01:00
parent 518d4b2cfe
commit 6580d1881a

View file

@ -63,7 +63,8 @@ class ExtractBurnin(pype.api.Extractor):
filename = "{0}".format(repre["files"])
name = "_burnin"
movieFileBurnin = filename.replace(".mov", "") + name + ".mov"
ext = os.path.splitext(filename)[1]
movieFileBurnin = filename.replace(ext, "") + name + ext
full_movie_path = os.path.join(
os.path.normpath(stagingdir), repre["files"]