From c5f153f8d0e50e12b9c9cd6ab0988a1294bcd4be Mon Sep 17 00:00:00 2001 From: Marcelo Glezer Date: Wed, 25 Mar 2015 17:07:31 -0300 Subject: [PATCH] fix #535 now works with both cases: using -c from command line and pressing c in the ui --- libmproxy/console/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index de549ee6c..75d1e1ace 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)