mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +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)
|
signals.status_message.send(message=e.strerror)
|
||||||
|
|
||||||
def client_playback_path(self, path):
|
def client_playback_path(self, path):
|
||||||
|
if not isinstance(path, list):
|
||||||
|
path = [path]
|
||||||
flows = self._readflows(path)
|
flows = self._readflows(path)
|
||||||
if flows:
|
if flows:
|
||||||
self.start_client_playback(flows, False)
|
self.start_client_playback(flows, False)
|
||||||
|
Loading…
Reference in New Issue
Block a user