mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
Make mypy
happy
This commit is contained in:
parent
7b386d5393
commit
6a7f27ff15
@ -15,7 +15,7 @@ class CommandHistory:
|
|||||||
self.filter_str: str = ''
|
self.filter_str: str = ''
|
||||||
|
|
||||||
_command_history_path = os.path.join(os.path.expanduser(ctx.options.confdir), 'command_history')
|
_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):
|
if os.path.exists(_command_history_path):
|
||||||
_history_lines = open(_command_history_path, 'r').readlines()
|
_history_lines = open(_command_history_path, 'r').readlines()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user