Fixed lint error

This commit is contained in:
harsh vijay 2017-04-29 03:54:00 +05:30 committed by GitHub
parent 6e03231d25
commit 789fbd00d2

View File

@ -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)