mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
fix #535 now works with both cases: using -c from command line and pressing c in the ui
This commit is contained in:
parent
e6a8863c51
commit
c5f153f8d0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user