aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/web/master.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-10-25 21:00:46 -0700
committerGitHub <noreply@github.com>2016-10-25 21:00:46 -0700
commita0ad0b06a00a017c6277e8183d955ad2d46a5ce5 (patch)
tree77fea1047afa278a369d885266e79a9201f0aec0 /mitmproxy/tools/web/master.py
parent145c2892f720300020fdeec8a257c3247c8dff5b (diff)
parentb1bdae3d1cbcf7c4c427cac5163faf75150f4cff (diff)
downloadmitmproxy-a0ad0b06a00a017c6277e8183d955ad2d46a5ce5.tar.gz
mitmproxy-a0ad0b06a00a017c6277e8183d955ad2d46a5ce5.tar.bz2
mitmproxy-a0ad0b06a00a017c6277e8183d955ad2d46a5ce5.zip
Merge pull request #1669 from mhils/typecheck-options
Typecheck options
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r--mitmproxy/tools/web/master.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py
index 619582f3..75842422 100644
--- a/mitmproxy/tools/web/master.py
+++ b/mitmproxy/tools/web/master.py
@@ -94,8 +94,9 @@ class WebState(state.State):
class Options(options.Options):
def __init__(
self,
+ *, # all args are keyword-only.
intercept: Optional[str] = None,
- wdebug: bool = bool,
+ wdebug: bool = False,
wport: int = 8081,
wiface: str = "127.0.0.1",
wauthenticator: Optional[authentication.PassMan] = None,