aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/main.py')
-rw-r--r--mitmproxy/main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mitmproxy/main.py b/mitmproxy/main.py
index bf0b7e4d..38a204fd 100644
--- a/mitmproxy/main.py
+++ b/mitmproxy/main.py
@@ -56,7 +56,7 @@ def mitmproxy(args=None): # pragma: no cover
options.verbose = 0
proxy_config = config.process_proxy_options(parser, options)
- console_options = console.Options(**cmdline.get_common_options(options))
+ console_options = console.master.Options(**cmdline.get_common_options(options))
console_options.palette = options.palette
console_options.palette_transparent = options.palette_transparent
console_options.eventlog = options.eventlog
@@ -67,7 +67,7 @@ def mitmproxy(args=None): # pragma: no cover
server = get_server(console_options.no_server, proxy_config)
- m = console.ConsoleMaster(server, console_options)
+ m = console.master.ConsoleMaster(server, console_options)
try:
m.run()
except (KeyboardInterrupt, _thread.error):
@@ -120,7 +120,7 @@ def mitmweb(args=None): # pragma: no cover
options.verbose = 0
proxy_config = config.process_proxy_options(parser, options)
- web_options = web.Options(**cmdline.get_common_options(options))
+ web_options = web.master.Options(**cmdline.get_common_options(options))
web_options.intercept = options.intercept
web_options.wdebug = options.wdebug
web_options.wiface = options.wiface
@@ -131,7 +131,7 @@ def mitmweb(args=None): # pragma: no cover
server = get_server(web_options.no_server, proxy_config)
- m = web.WebMaster(server, web_options)
+ m = web.master.WebMaster(server, web_options)
try:
m.run()
except (KeyboardInterrupt, _thread.error):