Skip to content
Snippets Groups Projects
Commit 2b42ba9d authored by nkour's avatar nkour
Browse files

fix a tb

parent 637351b3
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,8 @@ def is_in_path(name_of_command, return_abs_path = False):
contents = os.listdir(path_to_directory)
except OSError: # user can have something in PATH that is not a dir
pass
is_in_dir = name_of_command in contents
else:
is_in_dir = name_of_command in contents
if is_in_dir:
if return_abs_path:
found_in_which_dir = path_to_directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment