Skip to content
This repository was archived by the owner on Nov 22, 2019. It is now read-only.

Commit 0c20efc

Browse files
author
mfe
committed
Sort colorspace list
1 parent 54e6341 commit 0c20efc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lutLab/rgb_to_xyz_matrix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def __get_options():
153153
parser.add_argument("-c", "--colorspace",
154154
help=("Input RGB Colorspace."),
155155
type=str,
156-
choices= COLORSPACES.keys()+PRIVATE_COLORSPACES.keys(),
156+
choices= sorted(COLORSPACES.keys() +
157+
PRIVATE_COLORSPACES.keys()),
157158
default='REC709')
158159
# Output format
159160
parser.add_argument("-f", "--format",

0 commit comments

Comments
 (0)