mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix display inconsistency for certstore path
This commit is contained in:
parent
9760396a37
commit
3692b4ceab
@ -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