Merge pull request #15035 from AUTOMATIC1111/fix/normalized-filepath-absolute

Use `absolute` path for normalized filepath
This commit is contained in:
AUTOMATIC1111 2024-03-02 06:35:46 +03:00 committed by GitHub
commit 150b603770
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import shlex
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', "")
sys.argv += shlex.split(commandline_args)