diff options
author | harsh vijay <iharsh234@gmail.com> | 2017-04-29 03:49:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 03:49:08 +0530 |
commit | 6e03231d255344f6f84643656ba0be802624aa8c (patch) | |
tree | a5b0c602fbd705a26e4827b52a08b14cb9d74474 /examples | |
parent | 36118973d98f1afa81e79a846f595a7c4782ff9a (diff) | |
download | mitmproxy-6e03231d255344f6f84643656ba0be802624aa8c.tar.gz mitmproxy-6e03231d255344f6f84643656ba0be802624aa8c.tar.bz2 mitmproxy-6e03231d255344f6f84643656ba0be802624aa8c.zip |
lint error fixed
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple/custom_contentview.py | 2 |
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()) |