mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4663 - fix double dots in extension
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
This commit is contained in:
parent
016111ab33
commit
e1d68ec387
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
file_name = os.path.basename(input_path)
|
||||
file_name, input_extension = os.path.splitext(file_name)
|
||||
if not output_extension:
|
||||
output_extension = input_extension
|
||||
output_extension = input_extension.replace(".", "")
|
||||
new_file_name = '{}.{}'.format(file_name,
|
||||
output_extension)
|
||||
return os.path.join(output_dir, new_file_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue