diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-02-27 05:37:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-27 05:37:26 +0100 |
commit | 2b3093fa1c11758b0e03f5ea5dcda0c9545c1cc5 (patch) | |
tree | 2b4ca3ba3b7254e87d70fa1e18d406a776ace86d | |
parent | 0fdf2c0f4be5c6522ff3d5dd586e1e23b9f545ad (diff) | |
parent | 6fd9146d0db8e098e4b60b41a6da1f79e79c3521 (diff) | |
download | mitmproxy-2b3093fa1c11758b0e03f5ea5dcda0c9545c1cc5.tar.gz mitmproxy-2b3093fa1c11758b0e03f5ea5dcda0c9545c1cc5.tar.bz2 mitmproxy-2b3093fa1c11758b0e03f5ea5dcda0c9545c1cc5.zip |
Merge pull request #2069 from JordanLoehr/iss2068
Added console_ prefix to options in palettepicker to resolve issue #2068
-rw-r--r-- | mitmproxy/tools/console/palettepicker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/tools/console/palettepicker.py b/mitmproxy/tools/console/palettepicker.py index 4c5c62a0..1f238b0d 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") ) ] ) |