From 3692b4ceab8d7d228ef47a314cf28c7bb6b9ec27 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 3 Mar 2018 19:23:05 +0100 Subject: [PATCH] fix display inconsistency for certstore path --- mitmproxy/proxy/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/proxy/config.py b/mitmproxy/proxy/config.py index 439beb3dd..410ab7011 100644 --- a/mitmproxy/proxy/config.py +++ b/mitmproxy/proxy/config.py @@ -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,