Skip to content

Commit a8fe5a8

Browse files
authored
Update niworkflows/utils/spaces.py
1 parent b137279 commit a8fe5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/utils/spaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def __call__(self, parser, namespace, values, option_string=None):
712712
invalid_spaces = []
713713
for val in values:
714714
val = val.rstrip(':')
715-
space = val.split(':')[0]
715+
space = val.split(':', 1)[0]
716716
if space in NONSTANDARD_REFERENCES and ':' in val:
717717
invalid_spaces.append(val)
718718

0 commit comments

Comments
 (0)