We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6878253 commit e2e52c3Copy full SHA for e2e52c3
cmem_plugin_shapes/plugin_shapes.py
@@ -51,7 +51,7 @@ def str2bool(value: str) -> bool:
51
value = value.lower()
52
if value in TRUE_SET:
53
return True
54
- if value in FALSE_SET:
+ elif value in FALSE_SET:
55
return False
56
allowed_values = '", "'.join(TRUE_SET | FALSE_SET)
57
raise ValueError(f'Expected one of: "{allowed_values}"')
0 commit comments