diff options
author | Maximilian Hils <git@maximilianhils.com> | 2013-06-13 16:04:04 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2013-06-13 16:09:38 +0200 |
commit | 2b4af8d4756bc4eef613ec2cdf81a97d3952150b (patch) | |
tree | 514425c6f9bfee6acdef2d74ecf49ccff2ed8b2d /examples | |
parent | d3beaa738223947390bc66cdb649bf3cbaba6c28 (diff) | |
download | mitmproxy-2b4af8d4756bc4eef613ec2cdf81a97d3952150b.tar.gz mitmproxy-2b4af8d4756bc4eef613ec2cdf81a97d3952150b.tar.bz2 mitmproxy-2b4af8d4756bc4eef613ec2cdf81a97d3952150b.zip |
add support for multiple scripts and script arguments. refs #76
Diffstat (limited to 'examples')
-rw-r--r-- | examples/stub.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/stub.py b/examples/stub.py index 31411145..42b2935a 100644 --- a/examples/stub.py +++ b/examples/stub.py @@ -1,8 +1,7 @@ """ This is a script stub, with definitions for all events. """ - -def start(ctx): +def start(ctx, argv): """ Called once on script startup, before any other events. """ |