aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/web/master.py
diff options
context:
space:
mode:
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)