This commit is contained in:
becker33 2017-06-21 16:33:11 -07:00 committed by Adam J. Stewart
parent a113101126
commit 689c1d2f0c

View file

@ -239,7 +239,7 @@ def which(*args, **kwargs):
Returns:
Executable: The first executable that is found in the path
"""
path = kwargs.get('path', os.environ.get('PATH'))
path = kwargs.get('path', os.environ.get('PATH', ''))
required = kwargs.get('required', False)
if isinstance(path, string_types):