"...resnet50_tensorflow.git" did not exist on "7ba78e942757b1911e93bd298ad07492ca8fc17e"
Unverified Commit 449b7b0c authored by liuzhe-lz's avatar liuzhe-lz Committed by GitHub
Browse files

fix named pipe open mode (#3183)


Co-authored-by: default avatarliuzhe <zhe.liu@microsoft.com>
parent f15a9b61
......@@ -52,7 +52,7 @@ else:
def connect(self) -> BufferedIOBase:
conn, _ = self._socket.accept()
self.file = conn.makefile('w+b')
self.file = conn.makefile('rwb')
return self.file
def close(self) -> None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment