aboutsummaryrefslogtreecommitdiffstats
path: root/examples/filt.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/filt.py')
-rw-r--r--examples/filt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/filt.py b/examples/filt.py
index 21744edd..102d1274 100644
--- a/examples/filt.py
+++ b/examples/filt.py
@@ -6,7 +6,7 @@ from mitmproxy import filt
state = {}
-def start():
+def configure(options):
if len(sys.argv) != 2:
raise ValueError("Usage: -s 'filt.py FILTER'")
state["filter"] = filt.parse(sys.argv[1])