fix: actually load porkbun secrets

This commit is contained in:
ptrcnull 2024-10-01 17:39:03 +02:00
parent ee63f01e0f
commit 300708ad63

View file

@ -59,7 +59,7 @@ def config_parse_secret(raw: Any) -> Secret:
if type(raw) is str:
return raw
if type(raw) is dict:
for k, v in raw:
for k, v in raw.items():
if type(k) is not str:
raise TypeError(f'invalid type for secret name: expected str, got {type(k).__name__}')
if type(v) is not str: