diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-31 15:40:47 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-31 15:40:47 +0000 |
commit | 58cc03edd0fe8c7e64297bcfe51111caaafabfd7 (patch) | |
tree | 22cff1222116ab9f8c75075d9660d9e76a8089e3 /modules/extensions.py | |
parent | dc7425a56e7a014cbfa3b3d44ad2321e519fe378 (diff) | |
download | stable-diffusion-webui-gfx803-58cc03edd0fe8c7e64297bcfe51111caaafabfd7.tar.gz stable-diffusion-webui-gfx803-58cc03edd0fe8c7e64297bcfe51111caaafabfd7.tar.bz2 stable-diffusion-webui-gfx803-58cc03edd0fe8c7e64297bcfe51111caaafabfd7.zip |
fix scripts I broke with the extension tab changes
Diffstat (limited to 'modules/extensions.py')
-rw-r--r-- | modules/extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extensions.py b/modules/extensions.py index 8d6ae848..897af96e 100644 --- a/modules/extensions.py +++ b/modules/extensions.py @@ -46,7 +46,7 @@ class Extension: res = []
for filename in sorted(os.listdir(dirpath)):
- res.append(scripts.ScriptFile(dirpath, filename, os.path.join(dirpath, filename)))
+ res.append(scripts.ScriptFile(self.path, filename, os.path.join(dirpath, filename)))
res = [x for x in res if os.path.splitext(x.path)[1].lower() == extension and os.path.isfile(x.path)]
|