aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/web/master.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-11-03 15:00:18 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-11-03 15:00:18 +1300
commit9f77c79227f424f48ec16871d7efd451c8de6d47 (patch)
tree43c840852e2478f56e6ee8d138080c475c66aba4 /mitmproxy/tools/web/master.py
parent43a822198923215b78ae08cef7a63d1ad24e37c7 (diff)
downloadmitmproxy-9f77c79227f424f48ec16871d7efd451c8de6d47.tar.gz
mitmproxy-9f77c79227f424f48ec16871d7efd451c8de6d47.tar.bz2
mitmproxy-9f77c79227f424f48ec16871d7efd451c8de6d47.zip
FileStreamer -> StreamFile
options.wfile -> options.streamfile
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r--mitmproxy/tools/web/master.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py
index d283e5d5..3e1b5933 100644
--- a/mitmproxy/tools/web/master.py
+++ b/mitmproxy/tools/web/master.py
@@ -111,10 +111,10 @@ class WebMaster(master.Master):
"error"
)
- if options.outfile:
+ if options.streamfile:
err = self.start_stream_to_path(
- options.outfile[0],
- options.outfile[1]
+ options.streamfile[0],
+ options.streamfile[1]
)
if err:
print("Stream file error: {}".format(err), file=sys.stderr)