diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-07-30 23:50:34 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-07-30 23:50:34 +0200 |
commit | 826513ef278739b51d4d25eefef0ab6217df74ab (patch) | |
tree | 8474729075e9b6ee032bd7143a40428b7d26c017 | |
parent | 3c45895cec21ae8b73a1fbe8eeb2889589fb3aed (diff) | |
download | mitmproxy-826513ef278739b51d4d25eefef0ab6217df74ab.tar.gz mitmproxy-826513ef278739b51d4d25eefef0ab6217df74ab.tar.bz2 mitmproxy-826513ef278739b51d4d25eefef0ab6217df74ab.zip |
minor fixes
-rw-r--r-- | mitmproxy/tools/web/master.py | 2 | ||||
-rw-r--r-- | mitmproxy/tools/web/webaddons.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index 6453dc4e..b13aeff9 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -34,7 +34,7 @@ class WebMaster(master.Master): self.addons.add(*addons.default_addons()) self.addons.add( - webaddons.WebOptions(), + webaddons.WebAddon(), intercept.Intercept(), readfile.ReadFile(), self.view, diff --git a/mitmproxy/tools/web/webaddons.py b/mitmproxy/tools/web/webaddons.py index f3b745bc..6b52188c 100644 --- a/mitmproxy/tools/web/webaddons.py +++ b/mitmproxy/tools/web/webaddons.py @@ -1,4 +1,4 @@ -class WebOptions: +class WebAddon: def load(self, loader): loader.add_option( "web_open_browser", bool, True, @@ -6,13 +6,13 @@ class WebOptions: ) loader.add_option( "web_debug", bool, False, - "Mitmweb debugging." + "Enable mitmweb debugging." ) loader.add_option( "web_port", int, 8081, - "Mitmweb port." + "Web UI port." ) loader.add_option( "web_iface", str, "127.0.0.1", - "Mitmweb interface." + "Web UI interface." ) |