aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorharsh vijay <iharsh234@gmail.com>2017-04-29 03:49:08 +0530
committerGitHub <noreply@github.com>2017-04-29 03:49:08 +0530
commit6e03231d255344f6f84643656ba0be802624aa8c (patch)
treea5b0c602fbd705a26e4827b52a08b14cb9d74474 /examples
parent36118973d98f1afa81e79a846f595a7c4782ff9a (diff)
downloadmitmproxy-6e03231d255344f6f84643656ba0be802624aa8c.tar.gz
mitmproxy-6e03231d255344f6f84643656ba0be802624aa8c.tar.bz2
mitmproxy-6e03231d255344f6f84643656ba0be802624aa8c.zip
lint error fixed
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/custom_contentview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/custom_contentview.py b/examples/simple/custom_contentview.py
index 6fb51aaa..289e1efe 100644
--- a/examples/simple/custom_contentview.py
+++ b/examples/simple/custom_contentview.py
@@ -14,7 +14,7 @@ class ViewSwapCase(contentviews.View):
prompt = ("swap case text", "z")
content_types = ["text/plain"]
- def __call__(self, data: bytes, **metadata) -> Tuple[str,Iterable[List[Tuple[str, AnyStr]]]]:
+ def __call__(self, data: bytes, **metadata) -> Tuple[str, Iterable[List[Tuple[str, AnyStr]]]]:
return "case-swapped text", contentviews.format_text(data.swapcase())