Merge pull request #2950 from mitmproxy/certstore-path

Fix display inconsistency for certstore path
This commit is contained in:
Maximilian Hils 2018-03-04 19:45:08 +01:00 committed by GitHub
commit 8dbcb4ceec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ class ProxyConfig:
if not os.path.exists(os.path.dirname(certstore_path)):
raise exceptions.OptionsError(
"Certificate Authority parent directory does not exist: %s" %
os.path.dirname(options.cadir)
os.path.dirname(certstore_path)
)
self.certstore = certs.CertStore.from_store(
certstore_path,