Fix add_to_path tests
This commit is contained in:
parent
539aac1307
commit
f34e8200dd
@ -226,7 +226,7 @@ def get_recursive_filelist(pathlist: list[str]) -> list[str]:
|
||||
|
||||
|
||||
def add_to_path(dirname: str) -> None:
|
||||
if dirname and os.path.isdir(dirname):
|
||||
if dirname:
|
||||
dirname = os.path.abspath(dirname)
|
||||
paths = [os.path.normpath(x) for x in split(os.environ["PATH"], os.pathsep)]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user