Fix MOJO_LOCAL_DIR name

This commit is contained in:
Liam Young
2020-02-03 16:03:42 +00:00
parent 83982a7aec
commit cac2f4c4a7

View File

@@ -59,7 +59,7 @@ def basic_unseal_mojo_cacert():
$MOJO_LOCAL directory.
"""
try:
cert_dir = os.environ['MOJO_LOCAL']
cert_dir = os.environ['MOJO_LOCAL_DIR']
except KeyError:
raise Exception("Could not find cacert.pem, MOJO_LOCAL unset")
cacert = os.path.join(cert_dir, 'cacert.pem')