From 716306538f9bd073cda487d38df4a49d87994bab Mon Sep 17 00:00:00 2001 From: lymanZerga11 Date: Wed, 8 Mar 2017 13:59:43 +0800 Subject: [PATCH] Update proxyauth.py --- mitmproxy/addons/proxyauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/addons/proxyauth.py b/mitmproxy/addons/proxyauth.py index ba6250f60..3c3172bb9 100644 --- a/mitmproxy/addons/proxyauth.py +++ b/mitmproxy/addons/proxyauth.py @@ -155,7 +155,7 @@ class ProxyAuth: def http_connect(self, f: http.HTTPFlow) -> None: if self.enabled(): if self.authenticate(f): - self.authenticated[f.client_conn]=f.metadata["proxyauth"] + self.authenticated[f.client_conn] = f.metadata["proxyauth"] def requestheaders(self, f: http.HTTPFlow) -> None: if self.enabled():