mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
OP-4643 - moved output argument to the end
This commit is contained in:
parent
c6571b9dfd
commit
8598c1ec39
1 changed files with 3 additions and 2 deletions
|
|
@ -1081,8 +1081,7 @@ def convert_colorspace(
|
|||
input_path,
|
||||
# Don't add any additional attributes
|
||||
"--nosoftwareattrib",
|
||||
"--colorconfig", config_path,
|
||||
"-o", output_path
|
||||
"--colorconfig", config_path
|
||||
]
|
||||
|
||||
if all([target_colorspace, view, display]):
|
||||
|
|
@ -1100,5 +1099,7 @@ def convert_colorspace(
|
|||
oiio_cmd.extend(["--iscolorspace", source_colorspace])
|
||||
oiio_cmd.extend(["--ociodisplay", display, view])
|
||||
|
||||
oiio_cmd.extend(["-o", output_path])
|
||||
|
||||
logger.debug("Conversion command: {}".format(" ".join(oiio_cmd)))
|
||||
run_subprocess(oiio_cmd, logger=logger)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue