diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-15 13:22:20 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-15 14:52:34 +1200 |
commit | 4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a (patch) | |
tree | 462636079d7c0d7529242ac5fce71ef799ca9131 /examples/custom_contentviews.py | |
parent | fcc1416ffd82a3497bf17323b4bb467e7e4435f4 (diff) | |
download | mitmproxy-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/custom_contentviews.py')
-rw-r--r-- | examples/custom_contentviews.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_contentviews.py b/examples/custom_contentviews.py index b10d936f..5a63e2a0 100644 --- a/examples/custom_contentviews.py +++ b/examples/custom_contentviews.py @@ -62,7 +62,7 @@ class ViewPigLatin(contentviews.View): pig_view = ViewPigLatin() -def configure(options): +def start(): contentviews.add(pig_view) |