Skip to content

Commit

Permalink
testing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
caespinoza5 committed Mar 2, 2024
1 parent 5094bcf commit d446260
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@
path_name = os.path.join(BASE_DIR, "settings", file_name)
if os.path.exists(path_name):
with open(path_name) as f:
overlap_secrets = json.loads(f.read())
for key in overlap_secrets:
_secrets[key] = overlap_secrets[key]
try:
overlap_secrets = json.loads(f.read())
for key in overlap_secrets:
_secrets[key] = overlap_secrets[key]
except:
pass


def get_secret(setting, secrets=_secrets):
Expand Down

0 comments on commit d446260

Please sign in to comment.