aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/dup_and_replay.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/complex/dup_and_replay.py')
-rw-r--r--examples/complex/dup_and_replay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/dup_and_replay.py b/examples/complex/dup_and_replay.py
index adcebff3..3ad98dc5 100644
--- a/examples/complex/dup_and_replay.py
+++ b/examples/complex/dup_and_replay.py
@@ -9,6 +9,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.add", [flow])
+ ctx.master.commands.call("view.flows.add", [flow])
flow.request.path = "/changed"
ctx.master.commands.call("replay.client", [flow])