From 8ec6b7c6e205da8386ebbcf6cf80b3ed2eabb6f5 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Tue, 2 Jan 2018 10:55:06 -0800 Subject: [PATCH] authz -> authzr --- acme/acme/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/acme/client.py b/acme/acme/client.py index 92452ca20..b1703f529 100644 --- a/acme/acme/client.py +++ b/acme/acme/client.py @@ -350,7 +350,7 @@ class Client(object): # pylint: disable=too-many-instance-attributes break for authzr in responses: if authzr.body.status != messages.STATUS_VALID: - for chall in authz.body.challenges: + for chall in authzr.body.challenges: if chall.error != None: raise Exception("failed challenge for %s: %s" % (authz.body.identifier.value, chall.error))