Merge pull request #15035 from AUTOMATIC1111/fix/normalized-filepath-absolute
Use `absolute` path for normalized filepath
This commit is contained in:
parent
024a32a09b
commit
0b07a6cf26
|
@ -7,7 +7,7 @@ import shlex
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
normalized_filepath = lambda filepath: str(Path(filepath).resolve())
|
normalized_filepath = lambda filepath: str(Path(filepath).absolute())
|
||||||
|
|
||||||
commandline_args = os.environ.get('COMMANDLINE_ARGS', "")
|
commandline_args = os.environ.get('COMMANDLINE_ARGS', "")
|
||||||
sys.argv += shlex.split(commandline_args)
|
sys.argv += shlex.split(commandline_args)
|
||||||
|
|
Loading…
Reference in New Issue