diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 75d1e1ace..9375f973b 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -305,6 +305,8 @@ class ConsoleMaster(flow.FlowMaster): self.start_client_playback(flows, False) def server_playback_path(self, path): + if not isinstance(path, list): + path = [path] flows = self._readflows(path) if flows: self.start_server_playback(