diff --git a/spcd/act.py b/spcd/act.py index 3f6a003..cc98572 100644 --- a/spcd/act.py +++ b/spcd/act.py @@ -28,7 +28,11 @@ def parse_inputs() -> dict[str, object]: d = {} for variable, value in sorted(projects.environment.items()): if variable.startswith(PREFIX): - d[variable.removeprefix(PREFIX)] = literal_eval(value) + name = variable.removeprefix(PREFIX).lower() + try: + d[name] = literal_eval(value) + except ValueError: + d[name] = value return d