Skip to content

Commit 1bcc00a

Browse files
authored
Fix "JSON" serialisation of "Studio" config. (#78)
Signed-off-by: Thomas Mansencal <[email protected]> Signed-off-by: Thomas Mansencal <[email protected]>
1 parent 4a39825 commit 1bcc00a

File tree

1 file changed

+8
-8
lines changed
  • opencolorio_config_aces/config/studio/generate

1 file changed

+8
-8
lines changed

opencolorio_config_aces/config/studio/generate/config.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ def generate_config_studio(
301301
additional_data=True,
302302
)
303303

304-
# TODO: Pickling "PyOpenColorIO.ColorSpace" fails on early "PyOpenColorIO"
305-
# versions.
306-
try:
307-
serialize_config_data(
308-
data, build_directory / config_basename.replace("ocio", "json")
309-
)
310-
except TypeError as error:
311-
logging.critical(error)
304+
# TODO: Pickling "PyOpenColorIO.ColorSpace" fails on early "PyOpenColorIO"
305+
# versions.
306+
try:
307+
serialize_config_data(
308+
data, build_directory / config_basename.replace("ocio", "json")
309+
)
310+
except TypeError as error:
311+
logging.critical(error)

0 commit comments

Comments
 (0)