mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 11:19:23 +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.
|
- a list of flows, otherwise.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
return flow.read_flows_from_paths([path])
|
return flow.read_flows_from_paths(path)
|
||||||
except flow.FlowReadError as e:
|
except flow.FlowReadError as e:
|
||||||
signals.status_message.send(message=e.strerror)
|
signals.status_message.send(message=e.strerror)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user