From 6b6832952f426760d467cba18bffb4a246fd095d Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Thu, 25 Jul 2024 00:37:01 +0200 Subject: [PATCH] Do no use check, as we want to check it outselves --- secret_loader/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secret_loader/__init__.py b/secret_loader/__init__.py index 3a5e517..5a08d8c 100644 --- a/secret_loader/__init__.py +++ b/secret_loader/__init__.py @@ -194,7 +194,7 @@ class SecretLoader: return None cmd = ['pass', 'show', f'{self.pass_folder}/{secret_name.lower()}'] - process = subprocess.run(cmd, capture_output=True, check=True) + process = subprocess.run(cmd, capture_output=True, check=False) if process.returncode: return None