diff --git a/botocore/credentials.py b/botocore/credentials.py index 42707b0124..6d78d50806 100644 --- a/botocore/credentials.py +++ b/botocore/credentials.py @@ -994,7 +994,7 @@ def __init__(self, profile_name, load_config, popen=subprocess.Popen): def load(self): credential_process = self._credential_process - if credential_process is None: + if not credential_process: return creds_dict = self._retrieve_credentials_using(credential_process)