diff --git a/mitmproxy/optmanager.py b/mitmproxy/optmanager.py index a928b953f..8661aece8 100644 --- a/mitmproxy/optmanager.py +++ b/mitmproxy/optmanager.py @@ -26,7 +26,7 @@ class _Option: def __init__( self, name: str, - typespec: typing.Type, + typespec: type, default: typing.Any, help: str, choices: typing.Optional[typing.Sequence[str]] @@ -101,7 +101,7 @@ class OptManager: def add_option( self, name: str, - typespec: typing.Type, + typespec: type, default: typing.Any, help: str, choices: typing.Optional[typing.Sequence[str]] = None