mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Merge pull request #2950 from mitmproxy/certstore-path
Fix display inconsistency for certstore path
This commit is contained in:
commit
8dbcb4ceec
@ -53,7 +53,7 @@ class ProxyConfig:
|
|||||||
if not os.path.exists(os.path.dirname(certstore_path)):
|
if not os.path.exists(os.path.dirname(certstore_path)):
|
||||||
raise exceptions.OptionsError(
|
raise exceptions.OptionsError(
|
||||||
"Certificate Authority parent directory does not exist: %s" %
|
"Certificate Authority parent directory does not exist: %s" %
|
||||||
os.path.dirname(options.cadir)
|
os.path.dirname(certstore_path)
|
||||||
)
|
)
|
||||||
self.certstore = certs.CertStore.from_store(
|
self.certstore = certs.CertStore.from_store(
|
||||||
certstore_path,
|
certstore_path,
|
||||||
|
Loading…
Reference in New Issue
Block a user