diff options
author | Marcelo Glezer <mg@tekii.com.ar> | 2015-03-25 17:07:31 -0300 |
---|---|---|
committer | Marcelo Glezer <mg@tekii.com.ar> | 2015-03-25 17:07:31 -0300 |
commit | c5f153f8d0e50e12b9c9cd6ab0988a1294bcd4be (patch) | |
tree | 8d11142e1fd0f8a3544b318b1ffca34c1f7cb22c | |
parent | e6a8863c51f2e2f5809ae0a42fc874afc3c7f908 (diff) | |
download | mitmproxy-c5f153f8d0e50e12b9c9cd6ab0988a1294bcd4be.tar.gz mitmproxy-c5f153f8d0e50e12b9c9cd6ab0988a1294bcd4be.tar.bz2 mitmproxy-c5f153f8d0e50e12b9c9cd6ab0988a1294bcd4be.zip |
fix #535 now works with both cases: using -c from command line and pressing c in the ui
-rw-r--r-- | libmproxy/console/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index de549ee6..75d1e1ac 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -298,6 +298,8 @@ class ConsoleMaster(flow.FlowMaster): signals.status_message.send(message=e.strerror) def client_playback_path(self, path): + if not isinstance(path, list): + path = [path] flows = self._readflows(path) if flows: self.start_client_playback(flows, False) |