diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-06-17 09:20:34 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-17 09:20:34 +1200 |
commit | 9ff4f55614eee729aede5aa45bca63026145b8ae (patch) | |
tree | 392561b8a4ec3d2a7df32861d9aa1f32220600cf /examples/complex/dup_and_replay.py | |
parent | 9113dabb32f3e9a966826c3394603a238b9cb1a3 (diff) | |
parent | af54c260143f378bc71e3eba836544a59e9a2736 (diff) | |
download | mitmproxy-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.py | 2 |
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]) |