Compare commits
No commits in common. "31a6c7b87454c2c65bf54ad1f34b397336329e2f" and "5ea1853dd6a527156ee5c2df2457df8e24ac41bc" have entirely different histories.
31a6c7b874
...
5ea1853dd6
|
@ -89,11 +89,11 @@ def perform_http01_challenge(
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
response, validation = challenge.response_and_validation(client_acme.net.key)
|
response, validation = challenge.response_and_validation(client_acme.net.key)
|
||||||
validation_filename, _ = validation.split('.')
|
validation_filename, validation_content = validation.split('.')
|
||||||
|
|
||||||
challenge_path = os.path.join(challenge_dir, validation_filename)
|
challenge_path = os.path.join(challenge_dir, validation_filename)
|
||||||
with open(challenge_path, 'w') as f_out:
|
with open(challenge_path, 'w') as f_out:
|
||||||
f_out.write(validation)
|
f_out.write(validation_content)
|
||||||
|
|
||||||
client_acme.answer_challenge(challenge, response)
|
client_acme.answer_challenge(challenge, response)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue