diff --git a/arches/app/utils/string_utils.py b/arches/app/utils/string_utils.py index e6596c4b887..bb6fb9f23a2 100644 --- a/arches/app/utils/string_utils.py +++ b/arches/app/utils/string_utils.py @@ -1,7 +1,7 @@ def str_to_bool(value): match value: - case "y" | "yes" | "t" | "true" | "on" | "1": + case "y" | "yes" | "t" | "true" | "on" | "1" | "True": return True - case "n" | "no" | "f" | "false" | "off" | "0": + case "n" | "no" | "f" | "false" | "off" | "0" | "False": return False raise ValueError