diff --git a/examples/simple/io_write_dumpfile.py b/examples/simple/io_write_dumpfile.py index 04d943c0b..7c4c6a7ac 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)