aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/options.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-12 17:57:21 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-12 17:57:21 +0200
commit32b487109f2d555870a0e93026968fa6eacf9f11 (patch)
tree6aab46bceebb0520bd8f31fe7535ab4d0cadf170 /libmproxy/console/options.py
parent4106e1961246616a33c6a1b9d7b8208000611e3d (diff)
parent5fe12a467f37bfba2f4f663274cacbc6ecc770f7 (diff)
downloadmitmproxy-32b487109f2d555870a0e93026968fa6eacf9f11.tar.gz
mitmproxy-32b487109f2d555870a0e93026968fa6eacf9f11.tar.bz2
mitmproxy-32b487109f2d555870a0e93026968fa6eacf9f11.zip
Merge pull request #765 from mitmproxy/such-colors-very-wow
Improve Content Views
Diffstat (limited to 'libmproxy/console/options.py')
-rw-r--r--libmproxy/console/options.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmproxy/console/options.py b/libmproxy/console/options.py
index 0948e96d..a365a78c 100644
--- a/libmproxy/console/options.py
+++ b/libmproxy/console/options.py
@@ -1,6 +1,6 @@
import urwid
-from .. import contentview
+from .. import contentviews
from . import common, signals, grideditor
from . import select, palettes
@@ -158,7 +158,7 @@ class Options(urwid.WidgetWrap):
self.master.scripts = []
self.master.set_stickyauth(None)
self.master.set_stickycookie(None)
- self.master.state.default_body_view = contentview.get("Auto")
+ self.master.state.default_body_view = contentviews.get("Auto")
signals.update_settings.send(self)
signals.status_message.send(
@@ -233,7 +233,7 @@ class Options(urwid.WidgetWrap):
def default_displaymode(self):
signals.status_prompt_onekey.send(
prompt = "Global default display mode",
- keys = contentview.view_prompts,
+ keys = contentviews.view_prompts,
callback = self.master.change_default_display_mode
)