diff options
author | vg <vgm+dev@devys.org> | 2020-03-12 17:43:33 +0100 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2020-03-12 17:43:33 +0100 |
commit | 0d836532023330efd8ffef7b23ad406ce0309f4e (patch) | |
tree | 949b8d36b55e60ca4861b480a985fe651f1d7a76 | |
parent | 4a4ba16d2d370326d7a5a340197205126255add5 (diff) | |
download | acme-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.py | 2 |
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.') |