aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/__init__.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/__init__.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/__init__.py')
-rw-r--r--libmproxy/console/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py
index b75fa5d8..3bc0c091 100644
--- a/libmproxy/console/__init__.py
+++ b/libmproxy/console/__init__.py
@@ -14,7 +14,7 @@ import traceback
import urwid
import weakref
-from .. import controller, flow, script, contentview
+from .. import controller, flow, script, contentviews
from . import flowlist, flowview, help, window, signals, options
from . import grideditor, palettes, statusbar, palettepicker
@@ -26,7 +26,7 @@ class ConsoleState(flow.State):
flow.State.__init__(self)
self.focus = None
self.follow_focus = None
- self.default_body_view = contentview.get("Auto")
+ self.default_body_view = contentviews.get("Auto")
self.flowsettings = weakref.WeakKeyDictionary()
self.last_search = None
@@ -648,7 +648,7 @@ class ConsoleMaster(flow.FlowMaster):
return self.state.set_intercept(txt)
def change_default_display_mode(self, t):
- v = contentview.get_by_shortcut(t)
+ v = contentviews.get_by_shortcut(t)
self.state.default_body_view = v
self.refresh_focus()