We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857384d commit d160383Copy full SHA for d160383
nipype/interfaces/base.py
@@ -1273,12 +1273,12 @@ def _process(drain=0):
1273
if stdout and isinstance(stdout, bytes):
1274
try:
1275
stdout = stdout.decode()
1276
- except:
+ except UnicodeDecodeError:
1277
stdout = stdout.decode("ISO-8859-1")
1278
if stderr and isinstance(stderr, bytes):
1279
1280
stderr = stderr.decode()
1281
1282
stderr = stderr.decode("ISO-8859-1")
1283
1284
result['stdout'] = str(stdout).split('\n')
0 commit comments