Skip to content

Commit

Permalink
Update addressing KelSolaar's review:
Browse files Browse the repository at this point in the history
- Case-insensitive check of `direction` args

Signed-off-by: Allison Moon <147774452+ajymoonILM@users.noreply.github.com>
  • Loading branch information
ajymoonILM committed Oct 18, 2023
1 parent 1f65687 commit 2a311ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencolorio_config_aces/config/cg/generate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def clf_transform_to_description(
DescriptionStyle.SHORT_UNION,
):
if clf_transform.description is not None:
if direction == "Forward":
if direction.lower() == "forward":
description.append(
f"Convert {clf_transform.output_descriptor} "
f"to {clf_transform.input_descriptor}"
Expand Down

0 comments on commit 2a311ee

Please sign in to comment.