Skip to content

Commit 822d34d

Browse files
authored
FIX: Check correct path
1 parent 2d3028c commit 822d34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/utils/filemanip.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def isexec(path):
781781
extcmd = cmd + ext
782782
fpath, fname = os.path.split(extcmd)
783783
if fpath:
784-
if isexec(fpath):
784+
if isexec(extcmd):
785785
return extcmd
786786
else:
787787
for directory in path.split(os.pathsep):

0 commit comments

Comments
 (0)