summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2020-03-12 17:43:33 +0100
committervg <vgm+dev@devys.org>2020-03-12 17:43:33 +0100
commit0d836532023330efd8ffef7b23ad406ce0309f4e (patch)
tree949b8d36b55e60ca4861b480a985fe651f1d7a76
parent4a4ba16d2d370326d7a5a340197205126255add5 (diff)
downloadacme-dns-tiny-0d836532023330efd8ffef7b23ad406ce0309f4e.tar.gz
acme-dns-tiny-0d836532023330efd8ffef7b23ad406ce0309f4e.tar.bz2
acme-dns-tiny-0d836532023330efd8ffef7b23ad406ce0309f4e.zip
fix error when registering an account
-rw-r--r--acme_dns_tiny.py2
1 files changed, 1 insertions, 1 deletions
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.')