Skip to content

Commit 244b149

Browse files
committed
Merge pull request open-source-parsers#225 from selaselah/master
fix find_program() bug: no result in not-win sys
2 parents cbe7e7c + c083835 commit 244b149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doxybuild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def find_program(*filenames):
3131
paths = os.environ.get('PATH', '').split(os.pathsep)
3232
suffixes = ('win32' in sys.platform) and '.exe .com .bat .cmd' or ''
3333
for filename in filenames:
34-
for name in [filename+ext for ext in suffixes.split()]:
34+
for name in [filename+ext for ext in suffixes.split(' ')]:
3535
for directory in paths:
3636
full_path = os.path.join(directory, name)
3737
if os.path.isfile(full_path):

0 commit comments

Comments
 (0)