aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/proxy/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/proxy/config.py')
-rw-r--r--mitmproxy/proxy/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mitmproxy/proxy/config.py b/mitmproxy/proxy/config.py
index ae2ec68b..e98faabf 100644
--- a/mitmproxy/proxy/config.py
+++ b/mitmproxy/proxy/config.py
@@ -34,9 +34,9 @@ class ProxyConfig:
def __init__(self, options: moptions.Options) -> None:
self.options = options
- self.check_filter: HostMatcher = None
- self.check_tcp: HostMatcher = None
- self.certstore: certs.CertStore = None
+ self.certstore: certs.CertStore
+ self.check_filter: typing.Optional[HostMatcher] = None
+ self.check_tcp: typing.Optional[HostMatcher] = None
self.upstream_server: typing.Optional[server_spec.ServerSpec] = None
self.configure(options, set(options.keys()))
options.changed.connect(self.configure)