diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-14 16:20:27 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-14 19:54:15 +1200 |
commit | b94f5fd361af6255ad4d3c7a88b9a21868736dea (patch) | |
tree | 5237bbd32c84d284a5c4b2478a9034f11d39a850 /examples/iframe_injector.py | |
parent | a6821aad8e9296640c3efd4275e8922dd7c6e43b (diff) | |
download | mitmproxy-b94f5fd361af6255ad4d3c7a88b9a21868736dea.tar.gz mitmproxy-b94f5fd361af6255ad4d3c7a88b9a21868736dea.tar.bz2 mitmproxy-b94f5fd361af6255ad4d3c7a88b9a21868736dea.zip |
Convert examples and example tests for new-style scripts
Remove the test that just loads all the example scripts for now - it's a very
low-value test, and we need to think of something better.
Diffstat (limited to 'examples/iframe_injector.py')
-rw-r--r-- | examples/iframe_injector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/iframe_injector.py b/examples/iframe_injector.py index 70247d31..40934dd3 100644 --- a/examples/iframe_injector.py +++ b/examples/iframe_injector.py @@ -7,7 +7,7 @@ from mitmproxy.models import decoded iframe_url = None -def start(): +def configure(options): if len(sys.argv) != 2: raise ValueError('Usage: -s "iframe_injector.py url"') global iframe_url |