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