diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-10-25 21:00:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-25 21:00:46 -0700 |
commit | a0ad0b06a00a017c6277e8183d955ad2d46a5ce5 (patch) | |
tree | 77fea1047afa278a369d885266e79a9201f0aec0 /mitmproxy/tools/web/master.py | |
parent | 145c2892f720300020fdeec8a257c3247c8dff5b (diff) | |
parent | b1bdae3d1cbcf7c4c427cac5163faf75150f4cff (diff) | |
download | mitmproxy-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.py | 3 |
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, |