[ISS-1258][DC] removing impossible check

This commit is contained in:
DanielConnelly 2026-06-02 16:14:31 +01:00
parent 2173e8726c
commit 1d9d4ec02f
No known key found for this signature in database

View file

@ -43,8 +43,6 @@ def get_aws_secrets_from_json(json_credentials_file: str) -> set[str]:
secret access keys.
"""
aws_credentials_file_path = os.path.expanduser(json_credentials_file)
if not os.path.exists(aws_credentials_file_path):
return set()
with open(aws_credentials_file_path) as f:
try: