Skip to content

Commit

Permalink
Update security.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MXClyde authored Feb 1, 2021
1 parent ded9e20 commit cdf577f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildpack/runtime_components/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_certificate_authorities():
cas = os.getenv("CERTIFICATE_AUTHORITIES", None)
if cas:
if "-BEGIN CERTIFICATE-" not in cas:
cas = str(base64.b64decode(cas),'utf-8')
cas = str(base64.b64decode(cas), "utf-8")
ca_list = cas.split("-----BEGIN CERTIFICATE-----")
n = 0
files = []
Expand Down

0 comments on commit cdf577f

Please sign in to comment.