diff options
author | madt1m <blackjuniper@protonmail.com> | 2018-06-13 11:56:14 +0200 |
---|---|---|
committer | madt1m <blackjuniper@protonmail.com> | 2018-06-13 11:56:14 +0200 |
commit | 773c9535146991af38f954cb4d3b0ead9d7485c5 (patch) | |
tree | 0530549e9a9725401d0a26a663b741762448923f /examples | |
parent | b6fd9b4484d8d13dfd98a900a9b97549c8f3e52f (diff) | |
download | mitmproxy-773c9535146991af38f954cb4d3b0ead9d7485c5.tar.gz mitmproxy-773c9535146991af38f954cb4d3b0ead9d7485c5.tar.bz2 mitmproxy-773c9535146991af38f954cb4d3b0ead9d7485c5.zip |
View API slightly extended; codebase cleaned in some points
Diffstat (limited to 'examples')
-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]) |