From 789fbd00d24ee591de592ae5d8143fe4278298d7 Mon Sep 17 00:00:00 2001 From: harsh vijay Date: Sat, 29 Apr 2017 03:54:00 +0530 Subject: Fixed lint error --- examples/simple/io_write_dumpfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple/io_write_dumpfile.py b/examples/simple/io_write_dumpfile.py index 04d943c0..7c4c6a7a 100644 --- a/examples/simple/io_write_dumpfile.py +++ b/examples/simple/io_write_dumpfile.py @@ -13,7 +13,7 @@ from mitmproxy import io, http class Writer: def __init__(self, path: str) -> None: if path == "-": - f = sys.stdout # type: io.TextIO + f = sys.stdout # type: io.TextIO else: f = open(path, "wb") self.w = io.FlowWriter(f) -- cgit v1.2.3