From b19fefd173637ef20b72da3a0a05715db27c74be Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 19 Mar 2017 14:39:16 +1300 Subject: options: default_contentview uses lowercase --- mitmproxy/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/options.py b/mitmproxy/options.py index c0e3113e..8f8c1484 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -156,7 +156,7 @@ class Options(optmanager.OptManager): self.add_option( "default_contentview", str, "auto", "The default content view mode.", - choices = [i.name for i in contentviews.views] + choices = [i.name.lower() for i in contentviews.views] ) self.add_option( "streamfile", Optional[str], None, -- cgit v1.2.3