Skip to content

Normalize command-line argument paths#14934

Merged
AUTOMATIC1111 merged 1 commit intodevfrom
fix/normalize-cmd-arg-paths
Feb 17, 2024
Merged

Normalize command-line argument paths#14934
AUTOMATIC1111 merged 1 commit intodevfrom
fix/normalize-cmd-arg-paths

Conversation

@catboxanon
Copy link
Collaborator

@catboxanon catboxanon commented Feb 15, 2024

Description

This aims to fix an issue on Windows where some functions will misbehave if forward slashes are provided rather than double backslashes. An example of this is the current tree generation procedure implemented in #14588, which produces no tree if a path with forward slashes X:/like/this is provided via the cmd line arg rather than backslashes X:\\like\\this.

This would partially resolve the issue being experienced here: lllyasviel/stable-diffusion-webui-forge#121

Checklist:

In particular, this fixes an issue on Windows where some functions
will misbehave if forward slashes are provided rather than
double backslashes.
@catboxanon catboxanon changed the title Normalize cmd arg paths Normalize command-line argument paths Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants