diff options
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/Util.py b/utils/lit/lit/Util.py index 226e453..f294809 100644 --- a/utils/lit/lit/Util.py +++ b/utils/lit/lit/Util.py @@ -56,7 +56,7 @@ def which(command, paths = None): paths = os.environ.get('PATH','') # Check for absolute match first. - if os.path.exists(command): + if os.path.isfile(command): return command # Would be nice if Python had a lib function for this. |