diff options
author | Henrique <typoon@gmail.com> | 2019-11-24 20:21:14 -0500 |
---|---|---|
committer | Henrique <typoon@gmail.com> | 2019-11-24 20:21:14 -0500 |
commit | 6a7f27ff152fc05f9bbe847625e92dc1ecad3653 (patch) | |
tree | 8d9ee86a4b59e79b397748f4b3e37f40111e666f /mitmproxy/addons | |
parent | 7b386d5393a68715e70a9ea6d2936c8b09104f86 (diff) | |
download | mitmproxy-6a7f27ff152fc05f9bbe847625e92dc1ecad3653.tar.gz mitmproxy-6a7f27ff152fc05f9bbe847625e92dc1ecad3653.tar.bz2 mitmproxy-6a7f27ff152fc05f9bbe847625e92dc1ecad3653.zip |
Make `mypy` happy
Diffstat (limited to 'mitmproxy/addons')
-rw-r--r-- | mitmproxy/addons/command_history.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/addons/command_history.py b/mitmproxy/addons/command_history.py index c97cab8f..3df2fe5d 100644 --- a/mitmproxy/addons/command_history.py +++ b/mitmproxy/addons/command_history.py @@ -15,7 +15,7 @@ class CommandHistory: self.filter_str: str = '' _command_history_path = os.path.join(os.path.expanduser(ctx.options.confdir), 'command_history') - _history_lines = [] + _history_lines: typing.List[str] = [] if os.path.exists(_command_history_path): _history_lines = open(_command_history_path, 'r').readlines() |