diff options
author | Maximilian Hils <git@maximilianhils.com> | 2019-11-16 14:56:01 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2019-11-16 15:14:30 +0100 |
commit | ac22aee2f512cefd298fe0d9563a5de0ef7e42ee (patch) | |
tree | 131017b6a63eef67d676f106731989fab3525bce /examples/complex/change_upstream_proxy.py | |
parent | d17b9d62305507a93836eb6ee085fa3edd029bed (diff) | |
download | mitmproxy-ac22aee2f512cefd298fe0d9563a5de0ef7e42ee.tar.gz mitmproxy-ac22aee2f512cefd298fe0d9563a5de0ef7e42ee.tar.bz2 mitmproxy-ac22aee2f512cefd298fe0d9563a5de0ef7e42ee.zip |
cleanup mypy usage
Diffstat (limited to 'examples/complex/change_upstream_proxy.py')
-rw-r--r-- | examples/complex/change_upstream_proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/change_upstream_proxy.py b/examples/complex/change_upstream_proxy.py index 089a9df5..a0e7e572 100644 --- a/examples/complex/change_upstream_proxy.py +++ b/examples/complex/change_upstream_proxy.py @@ -24,4 +24,4 @@ def request(flow: http.HTTPFlow) -> None: return address = proxy_address(flow) if flow.live: - flow.live.change_upstream_proxy_server(address) + flow.live.change_upstream_proxy_server(address) # type: ignore |