fixed exception in mitmproxy -c fix #535

This commit is contained in:
Marcelo Glezer 2015-03-25 16:57:28 -03:00
parent b0f60cf1f2
commit e6a8863c51

View File

@ -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)