Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
449b7b0c
Unverified
Commit
449b7b0c
authored
Dec 12, 2020
by
liuzhe-lz
Committed by
GitHub
Dec 12, 2020
Browse files
fix named pipe open mode (#3183)
Co-authored-by:
liuzhe
<
zhe.liu@microsoft.com
>
parent
f15a9b61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nni/experiment/pipe.py
nni/experiment/pipe.py
+1
-1
No files found.
nni/experiment/pipe.py
View file @
449b7b0c
...
@@ -52,7 +52,7 @@ else:
...
@@ -52,7 +52,7 @@ else:
def
connect
(
self
)
->
BufferedIOBase
:
def
connect
(
self
)
->
BufferedIOBase
:
conn
,
_
=
self
.
_socket
.
accept
()
conn
,
_
=
self
.
_socket
.
accept
()
self
.
file
=
conn
.
makefile
(
'w
+
b'
)
self
.
file
=
conn
.
makefile
(
'
r
wb'
)
return
self
.
file
return
self
.
file
def
close
(
self
)
->
None
:
def
close
(
self
)
->
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment