aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/wsgi_flask_app.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-03-24 11:29:36 +1300
committerAldo Cortesi <aldo@corte.si>2017-03-25 10:48:12 +1300
commit65f0885bd6809966f694d1ffb965401b8ab2cffc (patch)
treeea90d5849f57d6b74ca0cefbb4498ff10776a848 /examples/simple/wsgi_flask_app.py
parentd69a411303298c944d5941e0f3e435ff96800a69 (diff)
downloadmitmproxy-65f0885bd6809966f694d1ffb965401b8ab2cffc.tar.gz
mitmproxy-65f0885bd6809966f694d1ffb965401b8ab2cffc.tar.bz2
mitmproxy-65f0885bd6809966f694d1ffb965401b8ab2cffc.zip
addon loader: add boot_into, which replaces returning from start()
While we're here, expand test coverage for addonmanager to 100%, and promote to individual coverage.
Diffstat (limited to 'examples/simple/wsgi_flask_app.py')
-rw-r--r--examples/simple/wsgi_flask_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/wsgi_flask_app.py b/examples/simple/wsgi_flask_app.py
index 5def17b4..30008b16 100644
--- a/examples/simple/wsgi_flask_app.py
+++ b/examples/simple/wsgi_flask_app.py
@@ -14,7 +14,7 @@ def hello_world():
return 'Hello World!'
-def load(opts):
+def load(l):
# Host app at the magic domain "proxapp" on port 80. Requests to this
# domain and port combination will now be routed to the WSGI app instance.
return wsgiapp.WSGIApp(app, "proxapp", 80)