diff options
author | Marcelo Glezer <mg@tekii.com.ar> | 2015-03-25 16:57:28 -0300 |
---|---|---|
committer | Marcelo Glezer <mg@tekii.com.ar> | 2015-03-25 16:57:28 -0300 |
commit | e6a8863c51f2e2f5809ae0a42fc874afc3c7f908 (patch) | |
tree | 40d22e44d7756a879e30b3e35ba8f6481edaf646 /libmproxy/console | |
parent | b0f60cf1f293a19c7f87782a3ad762b77cb2a5a7 (diff) | |
download | mitmproxy-e6a8863c51f2e2f5809ae0a42fc874afc3c7f908.tar.gz mitmproxy-e6a8863c51f2e2f5809ae0a42fc874afc3c7f908.tar.bz2 mitmproxy-e6a8863c51f2e2f5809ae0a42fc874afc3c7f908.zip |
fixed exception in mitmproxy -c fix #535
Diffstat (limited to 'libmproxy/console')
-rw-r--r-- | libmproxy/console/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 90c8bd89..de549ee6 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -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) |