aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/dup_and_replay.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-06-17 09:20:34 +1200
committerGitHub <noreply@github.com>2018-06-17 09:20:34 +1200
commit9ff4f55614eee729aede5aa45bca63026145b8ae (patch)
tree392561b8a4ec3d2a7df32861d9aa1f32220600cf /examples/complex/dup_and_replay.py
parent9113dabb32f3e9a966826c3394603a238b9cb1a3 (diff)
parentaf54c260143f378bc71e3eba836544a59e9a2736 (diff)
downloadmitmproxy-9ff4f55614eee729aede5aa45bca63026145b8ae.tar.gz
mitmproxy-9ff4f55614eee729aede5aa45bca63026145b8ae.tar.bz2
mitmproxy-9ff4f55614eee729aede5aa45bca63026145b8ae.zip
Merge pull request #3202 from madt1m/view-cleanup
View Cleanup - Initial steps
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])