aboutsummaryrefslogtreecommitdiffstats
path: root/examples/stub.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-07-23 16:08:27 +1200
committerGitHub <noreply@github.com>2016-07-23 16:08:27 +1200
commite85566e4ee5834e04e191763c787389cb53f3296 (patch)
tree3e51031018d35bfcaf8b9f63e4c2d15bbec51263 /examples/stub.py
parent45d24696e0ae15c67e46d6cfe4a06ae52ce19888 (diff)
parentafda175e1ccebf072391432ad74d6118c7cbb407 (diff)
downloadmitmproxy-e85566e4ee5834e04e191763c787389cb53f3296.tar.gz
mitmproxy-e85566e4ee5834e04e191763c787389cb53f3296.tar.bz2
mitmproxy-e85566e4ee5834e04e191763c787389cb53f3296.zip
Merge pull request #1412 from cortesi/updated
Addon iface: .configure(options) -> .configure(options, updated)
Diffstat (limited to 'examples/stub.py')
-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.
"""