From d9d3e9df39e7e8f2ac3d82eb47f47103c661bd6a Mon Sep 17 00:00:00 2001 From: jem Date: Tue, 28 Jan 2020 12:08:43 +0100 Subject: [PATCH] fix credential method --- src/main/python/ddadevops/credential.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/python/ddadevops/credential.py b/src/main/python/ddadevops/credential.py index 241c1c1..1f055f2 100644 --- a/src/main/python/ddadevops/credential.py +++ b/src/main/python/ddadevops/credential.py @@ -10,11 +10,11 @@ def gopass_credential_from_path (path): credential = None if env_path: - print('get credential for: ' + env_path) + print('get credential for: ' + path) if sys.version_info.major == 3: - credential = check_output(['gopass', env_path], encoding='UTF-8') + credential = check_output(['gopass', path], encoding='UTF-8') else: - credential = check_output(['gopass', env_path]) + credential = check_output(['gopass', path]) return credential