mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Fix lint.
This commit is contained in:
parent
7063f38463
commit
47a96218d6
1 changed files with 4 additions and 4 deletions
|
|
@ -183,10 +183,10 @@ class Client(object): # pylint: disable=too-many-instance-attributes
|
|||
authorizations.append(self._authzr_from_response(authz_response))
|
||||
fullchain_pem = None
|
||||
if "certificate" in response.json():
|
||||
certificate_response = self.net.get(response.json()["certificate"],
|
||||
content_type=None)
|
||||
if certificate_response.ok:
|
||||
fullchain_pem = certificate_response.text
|
||||
certificate_response = self.net.get(response.json()["certificate"],
|
||||
content_type=None)
|
||||
if certificate_response.ok:
|
||||
fullchain_pem = certificate_response.text
|
||||
return messages.OrderResource(
|
||||
body=messages.Order.from_json(response.json()),
|
||||
uri=response.headers.get('Location', uri),
|
||||
|
|
|
|||
Loading…
Reference in a new issue