aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/console/options.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-07-14 00:42:12 +1200
committerGitHub <noreply@github.com>2016-07-14 00:42:12 +1200
commit07c3f90c5b502850ce963f1c1e931bfb7b9361ec (patch)
tree4bef15fdb622a301c399ca9ba3971aac524170ab /mitmproxy/console/options.py
parentefc0b9fe7f8420abb03bbfce9316afee9cfa4c5c (diff)
parent9ab1db513fce2c638e8deb6b6d0609d4b50b7bbb (diff)
downloadmitmproxy-07c3f90c5b502850ce963f1c1e931bfb7b9361ec.tar.gz
mitmproxy-07c3f90c5b502850ce963f1c1e931bfb7b9361ec.tar.bz2
mitmproxy-07c3f90c5b502850ce963f1c1e931bfb7b9361ec.zip
Merge pull request #1348 from cortesi/addons
Addons
Diffstat (limited to 'mitmproxy/console/options.py')
-rw-r--r--mitmproxy/console/options.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/console/options.py b/mitmproxy/console/options.py
index 6a4b8dd6..db6d405a 100644
--- a/mitmproxy/console/options.py
+++ b/mitmproxy/console/options.py
@@ -102,7 +102,7 @@ class Options(urwid.WidgetWrap):
select.Option(
"Anti-Compression",
"o",
- lambda: master.anticomp,
+ lambda: master.options.anticomp,
self.toggle_anticomp
),
select.Option(
@@ -177,7 +177,7 @@ class Options(urwid.WidgetWrap):
self.master.anticache = not self.master.anticache
def toggle_anticomp(self):
- self.master.anticomp = not self.master.anticomp
+ self.master.options.anticomp = not self.master.options.anticomp
def toggle_killextra(self):
self.master.killextra = not self.master.killextra