Skip to content

Commit e2e52c3

Browse files
edit
1 parent 6878253 commit e2e52c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmem_plugin_shapes/plugin_shapes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def str2bool(value: str) -> bool:
5151
value = value.lower()
5252
if value in TRUE_SET:
5353
return True
54-
if value in FALSE_SET:
54+
elif value in FALSE_SET:
5555
return False
5656
allowed_values = '", "'.join(TRUE_SET | FALSE_SET)
5757
raise ValueError(f'Expected one of: "{allowed_values}"')

0 commit comments

Comments
 (0)