From 300708ad63176cf12e93e545e9f29f9bf20883f0 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Tue, 1 Oct 2024 17:39:03 +0200 Subject: [PATCH] fix: actually load porkbun secrets --- nyacme/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyacme/config.py b/nyacme/config.py index c67e3b0..a915c13 100644 --- a/nyacme/config.py +++ b/nyacme/config.py @@ -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: