Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add backwards compatibility --lyco-dir-backcompat option, use that for ↵ | AUTOMATIC1111 | 2023-07-18 | 1 | -2/+3 |
| | | | | | | LyCORIS directory instead of hardcoded value prevent running preload.py for disabled extensions | ||||
* | rename print_error to report, use it with together with package name | AUTOMATIC | 2023-05-31 | 1 | -2/+2 |
| | |||||
* | Add & use modules.errors.print_error where currently printing exception info ↵ | Aarni Koskela | 2023-05-29 | 1 | -4/+3 |
| | | | | by hand | ||||
* | F401 fixes for ruff | AUTOMATIC | 2023-05-10 | 1 | -1/+0 |
| | |||||
* | use python importlib to load and execute extension modules | Max Audron | 2023-01-27 | 1 | -6/+4 |
| | | | | | | | | | | | | | | previously module attributes like __file__ where not set correctly, leading to scripts getting the directory of the stable-diffusion repo location instead of their own script. This causes problem when loading user data from an external location using the --data-dir flag, as extensions would look for their own code in the stable-diffusion repo location instead of the data dir location. Using pythons importlib functions sets the modules specs correctly and executes them. But this will break extensions if they build paths based on the previously incorrect __file__ attribute. | ||||
* | make existing script loading and new preload code use same code for loading ↵ | AUTOMATIC | 2022-11-12 | 1 | -0/+34 |
modules limit extension preload scripts to just one file named preload.py |