From 6fd9146d0db8e098e4b60b41a6da1f79e79c3521 Mon Sep 17 00:00:00 2001 From: Jordan Loehr Date: Sun, 26 Feb 2017 17:08:00 -0700 Subject: [PATCH] Added console_ prefix to options in palettepicket to resolve issue #2068 --- mitmproxy/tools/console/palettepicker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mitmproxy/tools/console/palettepicker.py b/mitmproxy/tools/console/palettepicker.py index 4c5c62a02..1f238b0df 100644 --- a/mitmproxy/tools/console/palettepicker.py +++ b/mitmproxy/tools/console/palettepicker.py @@ -43,7 +43,7 @@ class PalettePicker(urwid.WidgetWrap): i, None, lambda: self.master.options.console_palette == name, - lambda: setattr(self.master.options, "palette", name) + lambda: setattr(self.master.options, "console_palette", name) ) for i in high: @@ -59,7 +59,7 @@ class PalettePicker(urwid.WidgetWrap): "Transparent", "T", lambda: master.options.console_palette_transparent, - master.options.toggler("palette_transparent") + master.options.toggler("console_palette_transparent") ) ] )