From 776421884bb4c19eeae4491111adf1d95137ac1c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 21 Oct 2024 15:19:39 +0200 Subject: [PATCH] removeprefix --- spcd/act.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spcd/act.py b/spcd/act.py index 5b7c3c2..3f6a003 100644 --- a/spcd/act.py +++ b/spcd/act.py @@ -28,7 +28,7 @@ def parse_inputs() -> dict[str, object]: d = {} for variable, value in sorted(projects.environment.items()): if variable.startswith(PREFIX): - d[variable] = literal_eval(value) + d[variable.removeprefix(PREFIX)] = literal_eval(value) return d