diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-04-07 09:37:58 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 09:37:58 +1200 |
commit | 5e2a1ec23c74e4b75278d36b65f74d565ce7d847 (patch) | |
tree | b02a58edf7402c3f0f9a898a71d9e384bea4ecf2 /mitmproxy/tools/web/master.py | |
parent | 506ccc5693284a66ff186306509217282868e48b (diff) | |
parent | 9dcd15d350aa5e2ee2d6f7299d0183cabddeb992 (diff) | |
download | mitmproxy-5e2a1ec23c74e4b75278d36b65f74d565ce7d847.tar.gz mitmproxy-5e2a1ec23c74e4b75278d36b65f74d565ce7d847.tar.bz2 mitmproxy-5e2a1ec23c74e4b75278d36b65f74d565ce7d847.zip |
Merge pull request #3035 from cortesi/aiosimpler
asyncio consolidation
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r-- | mitmproxy/tools/web/master.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index b7eddcce..575694c7 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -114,17 +114,15 @@ class WebMaster(master.Master): iol.add_callback(self.start) web_url = "http://{}:{}/".format(self.options.web_iface, self.options.web_port) - self.add_log( - "Web server listening at {}".format(web_url), - "info" + self.log.info( + "Web server listening at {}".format(web_url), ) if self.options.web_open_browser: success = open_browser(web_url) if not success: - self.add_log( + self.log.info( "No web browser found. Please open a browser and point it to {}".format(web_url), - "info" ) try: iol.start() |