diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-09-24 18:28:30 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-09-24 18:28:30 -0700 |
commit | de65aebfdf011f1cf68c554ed79326621c328c10 (patch) | |
tree | e6482217cca3d411f95af0f52d7d986263b56378 | |
parent | 6f86741574ca38b11ecb2c196ce636aea3f25b63 (diff) | |
download | mitmproxy-de65aebfdf011f1cf68c554ed79326621c328c10.tar.gz mitmproxy-de65aebfdf011f1cf68c554ed79326621c328c10.tar.bz2 mitmproxy-de65aebfdf011f1cf68c554ed79326621c328c10.zip |
fix tests
-rw-r--r-- | mitmproxy/dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index 9c40ff2d..3d725ca1 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -48,7 +48,7 @@ class DumpMaster(flow.FlowMaster): self.options = self.options # type: Options self.set_stream_large_bodies(options.stream_large_bodies) - if not self.options.no_server: + if not self.options.no_server and server: print("Proxy server listening at http://{}".format(server.address)) if self.server and self.options.http2 and not tcp.HAS_ALPN: # pragma: no cover |