Skip to content

Commit 5702da1

Browse files
author
Ben Cipollini
committed
BF: must decode() buffer
1 parent f77c145 commit 5702da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ def read(self, drain=0):
11711171
def _read(self, drain):
11721172
"Read from the file descriptor"
11731173
fd = self.fileno()
1174-
buf = os.read(fd, 4096)
1174+
buf = os.read(fd, 4096).decode()
11751175
if not buf and not self._buf:
11761176
return None
11771177
if '\n' not in buf:

0 commit comments

Comments
 (0)