aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sslstrip.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-06-14 15:25:01 +1200
committerGitHub <noreply@github.com>2016-06-14 15:25:01 +1200
commitd8ae2f156203a81a8e6d325f5c460c351cfbfc5c (patch)
tree8b5e8ef981b6f691dcbbd504883714cb2f6fc182 /examples/sslstrip.py
parentccf4723505935f759c1bff5c5cc7d6d986726422 (diff)
parentc2b5a13e3f1cfd193184c2fca9df0d531501a8ab (diff)
downloadmitmproxy-d8ae2f156203a81a8e6d325f5c460c351cfbfc5c.tar.gz
mitmproxy-d8ae2f156203a81a8e6d325f5c460c351cfbfc5c.tar.bz2
mitmproxy-d8ae2f156203a81a8e6d325f5c460c351cfbfc5c.zip
Merge pull request #1254 from mitmproxy/scriptargs
Inline Scripts: use sys.argv instead of args argument.
Diffstat (limited to 'examples/sslstrip.py')
-rw-r--r--examples/sslstrip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sslstrip.py b/examples/sslstrip.py
index 1bc89946..8dde8e3e 100644
--- a/examples/sslstrip.py
+++ b/examples/sslstrip.py
@@ -3,7 +3,7 @@ import re
from six.moves import urllib
-def start(context, argv):
+def start(context):
# set of SSL/TLS capable hosts
context.secure_hosts = set()