diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-03-02 03:35:46 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2024-03-02 03:54:48 +0000 |
commit | 0b07a6cf26634ea758d9fd67b4d4222cf9ec1617 (patch) | |
tree | c005fc177aa514528bf6c3c56195e2e9277055f0 /modules | |
parent | 024a32a09bb833f467fc351a6ea67132db5299c5 (diff) | |
download | stable-diffusion-webui-gfx803-0b07a6cf26634ea758d9fd67b4d4222cf9ec1617.tar.gz stable-diffusion-webui-gfx803-0b07a6cf26634ea758d9fd67b4d4222cf9ec1617.tar.bz2 stable-diffusion-webui-gfx803-0b07a6cf26634ea758d9fd67b4d4222cf9ec1617.zip |
Merge pull request #15035 from AUTOMATIC1111/fix/normalized-filepath-absolute
Use `absolute` path for normalized filepath
Diffstat (limited to 'modules')
-rw-r--r-- | modules/paths_internal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/paths_internal.py b/modules/paths_internal.py index 2ed1392a..6058b0cd 100644 --- a/modules/paths_internal.py +++ b/modules/paths_internal.py @@ -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)
|