mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
fixed exception in mitmproxy -c fix #535
This commit is contained in:
parent
b0f60cf1f2
commit
e6a8863c51
@ -293,7 +293,7 @@ class ConsoleMaster(flow.FlowMaster):
|
||||
- a list of flows, otherwise.
|
||||
"""
|
||||
try:
|
||||
return flow.read_flows_from_paths([path])
|
||||
return flow.read_flows_from_paths(path)
|
||||
except flow.FlowReadError as e:
|
||||
signals.status_message.send(message=e.strerror)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user