aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-03-02 06:35:46 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2024-03-02 06:54:48 +0300
commit0b07a6cf26634ea758d9fd67b4d4222cf9ec1617 (patch)
treec005fc177aa514528bf6c3c56195e2e9277055f0
parent024a32a09bb833f467fc351a6ea67132db5299c5 (diff)
Merge pull request #15035 from AUTOMATIC1111/fix/normalized-filepath-absolute
Use `absolute` path for normalized filepath
-rw-r--r--modules/paths_internal.py2
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)