Update cert_api.py

This commit is contained in:
midoks 2022-11-15 16:49:49 +08:00
parent 5a660d72b7
commit ca10fbc3b5
1 changed files with 2 additions and 2 deletions

View File

@ -707,8 +707,8 @@ class cert_api:
self.getKid()
self.getNonce(force=True)
res = self.acmeRequest(self.__apis['newOrder'], payload)
if not res.status_code in [201]:
a_auth = res.json()
if not res.status in [201]:
a_auth = e_body
ret_title = self.getError(str(a_auth))
raise StopIteration("{0} >>>> {1}".format(