mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
fix #535 server replay was failing from ui but working from command line (fixed now too)
This commit is contained in:
parent
c5f153f8d0
commit
fb17eea5e0
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user