Skip to content

Commit

Permalink
Merge pull request #15035 from AUTOMATIC1111/fix/normalized-filepath-…
Browse files Browse the repository at this point in the history
…absolute

Use `absolute` path for normalized filepath
  • Loading branch information
AUTOMATIC1111 committed Mar 2, 2024
2 parents c8a5322 + 3a618e3 commit 150b603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/paths_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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)
Expand Down

0 comments on commit 150b603

Please sign in to comment.