Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't iterate over scripts if it doesn't exist #60

Merged

Conversation

hentailord85ez
Copy link
Collaborator

@hentailord85ez hentailord85ez commented Sep 3, 2022

Currently, the code iterates over /scripts even if it doesn't exist, which causes a FileNotFoundError. This makes it return if that is the case.

Fixes #58

Edit: I guess another possible solution would be to make a scripts inside the repo and have a .gitkeep so git doesn't drop it. This might be preferable.

@AUTOMATIC1111 AUTOMATIC1111 merged commit 226de5e into AUTOMATIC1111:master Sep 3, 2022
nne998 pushed a commit to fjteam/stable-diffusion-webui that referenced this pull request Sep 26, 2023
Add `--controlnet-dir PTH_DIR` cli argument
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.

FileNotFoundError after new update
2 participants