From 2cc12dbee5890430dc3d324a4254c5dc7aaed906 Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Thu, 25 Apr 2024 18:28:23 +0200 Subject: [PATCH] convert secrets to str type --- tools/llaves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llaves.py b/tools/llaves.py index fa5f75e..9dac8d8 100755 --- a/tools/llaves.py +++ b/tools/llaves.py @@ -87,7 +87,7 @@ def run(passphrase: str, command: list, parallel=False): env_prefix = 'PRIVATE' env = os.environ.copy() for name, attrs in secrets.items(): - env[f'{env_prefix}__{name}'] = attrs['data'] + env[f'{env_prefix}__{name}'] = str(attrs['data']) p = subprocess.Popen(command, env=env) if not parallel: p.wait()