[73] check properly for upper secrets

pull/1536/head
meisnate12 1 year ago
parent 39bcd0ffc6
commit eb9d27879c

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

@ -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

Loading…
Cancel
Save