aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-07-23 15:43:55 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-07-23 15:43:55 +1200
commitafda175e1ccebf072391432ad74d6118c7cbb407 (patch)
tree3e51031018d35bfcaf8b9f63e4c2d15bbec51263 /examples
parent45d24696e0ae15c67e46d6cfe4a06ae52ce19888 (diff)
downloadmitmproxy-afda175e1ccebf072391432ad74d6118c7cbb407.tar.gz
mitmproxy-afda175e1ccebf072391432ad74d6118c7cbb407.tar.bz2
mitmproxy-afda175e1ccebf072391432ad74d6118c7cbb407.zip
Addon iface: .configure(options) -> .configure(options, updated)
Diffstat (limited to 'examples')
-rw-r--r--examples/stub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stub.py b/examples/stub.py
index e5b4a39a..4f5061e2 100644
--- a/examples/stub.py
+++ b/examples/stub.py
@@ -11,7 +11,7 @@ def start():
mitmproxy.ctx.log("start")
-def configure(options):
+def configure(options, updated):
"""
Called once on script startup before any other events, and whenever options changes.
"""