[73] check properly for upper secrets

This commit is contained in:
meisnate12 2023-07-24 10:25:08 -04:00
parent 39bcd0ffc6
commit eb9d27879c
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.19.0-develop72
1.19.0-develop73

View file

@ -296,7 +296,7 @@ class ConfigFile:
check_next(d)
else:
for secret, secret_value in self.secrets.items():
for test in [secret, secret.upper()]:
for test in [secret, secret.upper().replace("-", "_")]:
if f"<<{test}>>" in str(next_data):
return str(next_data).replace(f"<<{test}>>", secret_value)
return next_data