From ab9429e3f6f831290f2a104a25b084f3f25b6452 Mon Sep 17 00:00:00 2001 From: emanuele-em <100081325+emanuele-em@users.noreply.github.com> Date: Sun, 14 May 2023 19:22:51 +0200 Subject: [PATCH] solve #4272 docs bug (#6127) --- examples/addons/duplicate-modify-replay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/addons/duplicate-modify-replay.py b/examples/addons/duplicate-modify-replay.py index 7138e5b6f..f11eb7c58 100644 --- a/examples/addons/duplicate-modify-replay.py +++ b/examples/addons/duplicate-modify-replay.py @@ -10,6 +10,6 @@ def request(flow): # Only interactive tools have a view. If we have one, add a duplicate entry # for our flow. if "view" in ctx.master.addons: - ctx.master.commands.call("view.flows.add", [flow]) + ctx.master.commands.call("view.flows.duplicate", [flow]) flow.request.path = "/changed" ctx.master.commands.call("replay.client", [flow])