X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcreate_arri_colorspaces.py;h=ee4909f2dff842b80488f000c53bb969b8379131;hp=117032cfc2193bc5bd9b4394a081e23770619c1a;hb=a0dc64b95d92c314e80d0f85319290326f90818d;hpb=7d0167135cd080045ca2ee658fd48ff90cfa3e42 diff --git a/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py b/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py index 117032c..ee4909f 100644 --- a/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py +++ b/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py @@ -10,7 +10,7 @@ import math import os import aces_ocio.generate_lut as genlut -from aces_ocio.utilities import ColorSpace, mat44_from_mat33 +from aces_ocio.utilities import ColorSpace, mat44_from_mat33, sanitize_path __author__ = 'ACES Developers' @@ -128,8 +128,7 @@ def create_log_c(gamut, lut = '%s_to_linear.spi1d' % ( '%s_%s' % (transfer_function, exposure_index)) - # Remove spaces and parentheses - lut = lut.replace(' ', '_').replace(')', '_').replace('(', '_') + lut = sanitize_path(lut) genlut.write_SPI_1d( os.path.join(lut_directory, lut),