aboutsummaryrefslogtreecommitdiffstats
path: root/examples/har_extractor.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-07-15 13:22:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-07-15 14:52:34 +1200
commit4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a (patch)
tree462636079d7c0d7529242ac5fce71ef799ca9131 /examples/har_extractor.py
parentfcc1416ffd82a3497bf17323b4bb467e7e4435f4 (diff)
downloadmitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.tar.gz
mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.tar.bz2
mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.zip
Add .start for addons and scripts
Also improve error messages, fix various unit tests
Diffstat (limited to 'examples/har_extractor.py')
-rw-r--r--examples/har_extractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/har_extractor.py b/examples/har_extractor.py
index 23deb43a..2a69b9af 100644
--- a/examples/har_extractor.py
+++ b/examples/har_extractor.py
@@ -61,7 +61,7 @@ class Context(object):
context = Context()
-def configure(options):
+def start():
"""
On start we create a HARLog instance. You will have to adapt this to
suit your actual needs of HAR generation. As it will probably be