mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
fixed exception in mitmproxy -c fix #535
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user