From ef00f4aa9774717f1d8e153d4ed1c087b6f6c689 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 21 Oct 2024 17:25:39 +0200 Subject: [PATCH] inputs --- spcd/act.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spcd/act.py b/spcd/act.py index b740c20..f341558 100644 --- a/spcd/act.py +++ b/spcd/act.py @@ -25,13 +25,13 @@ def parse_inputs() -> dict[str, object]: :return: name & value pairs :rtype: dict[str, object] """ - d = {} + inputs = {} for variable, value in sorted(projects.environment.items()): if variable.startswith(PREFIX): + log.info(variable) name = variable.removeprefix(PREFIX).lower() - log.info(name) - d[name] = literal_eval(value) - return d + inputs[name] = literal_eval(value) + return inputs def synchronize(source: str | None = None, target: str | None = None) -> None: