From 0d836532023330efd8ffef7b23ad406ce0309f4e Mon Sep 17 00:00:00 2001 From: vg Date: Thu, 12 Mar 2020 17:43:33 +0100 Subject: fix error when registering an account --- acme_dns_tiny.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme_dns_tiny.py b/acme_dns_tiny.py index 2be4d73..6784eb8 100644 --- a/acme_dns_tiny.py +++ b/acme_dns_tiny.py @@ -221,7 +221,7 @@ class ACME: log.info(' - Registered a new account: "%s"', kid) elif sreq.code == 200: log.debug(' - Account is already registered: "%s"', kid) - sreq = self.sreq(self.jws_header['kid'], {}).map + sreq = self.sreq(self.jws_header['kid'], {}) if contacts and (set(contacts) != set(sreq.map['contact'])): self.sreq(self.jws_header["kid"], account_request) log.info(' - Account updated with latest contact information.') -- cgit v1.2.3