From 71cc9fe36a79535ed96e2fc5d7642c450d0b2702 Mon Sep 17 00:00:00 2001 From: Klee Dienes Date: Sun, 30 Mar 2025 17:06:44 -0400 Subject: [PATCH] dns_name shouldn't be a Path --- carthage_base/pki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carthage_base/pki.py b/carthage_base/pki.py index a168c48..7204e42 100644 --- a/carthage_base/pki.py +++ b/carthage_base/pki.py @@ -79,7 +79,7 @@ async def _resolve_args(self, instance): ainjector, item=[self.dns_name, self.cert, self.key, self.ca], args={}) - results = tuple((relative_path(x) if x is not None else None) for x in results) + results = tuple([results[0]] + [(relative_path(x) if x is not None else None) for x in results[1:]]) return results async def func(self, instance, pki):