Fix typo: raw_cert -> raw_crt

Traceback (most recent call last):
  File "bin/push-to-fastly", line 159, in <module>
  File "bin/push-to-fastly", line 154, in main
    cert_info = post_cert(client, domain)
  File "bin/push-to-fastly", line 53, in post_cert
    ssl_crt = raw_cert.decode('ascii')
NameError: name 'raw_cert' is not defined
parent bfa92255
......@@ -50,7 +50,7 @@ def post_cert(client, domain):
cert = os.path.join(RES, domain + '.crt')
with open(cert, 'rb') as f:
raw_crt =
ssl_crt = raw_cert.decode('ascii')
ssl_crt = raw_crt.decode('ascii')
chain = os.path.join(RES, domain + '.crt-chain')
with open(chain, 'r', encoding='ascii') as f:
ssl_crt +=
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment