This commit is contained in:
Matthew Shao 2018-01-11 09:01:51 +08:00
parent 67300fab31
commit 0a72911f7c

View File

@ -35,6 +35,9 @@ class ClientPlayback:
"""
Replay requests from flows.
"""
for f in flows:
if f.live:
raise exceptions.CommandError("Can't replay live flow.")
self.flows = list(flows)
ctx.log.alert("Replaying %s flows." % len(self.flows))
ctx.master.addons.trigger("update", [])