aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-27 16:44:49 +0000
committerspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-27 16:44:49 +0000
commitfc8e1008ea93f98554907f25aaf52f24ce661847 (patch)
treef60682c3fcd0698ba974781968c8d73bad5c279b /launch.py
parent2a4d3d21242dcc8b2b9cef85aa8f4227e855dc96 (diff)
downloadstable-diffusion-webui-gfx803-fc8e1008ea93f98554907f25aaf52f24ce661847.tar.gz
stable-diffusion-webui-gfx803-fc8e1008ea93f98554907f25aaf52f24ce661847.tar.bz2
stable-diffusion-webui-gfx803-fc8e1008ea93f98554907f25aaf52f24ce661847.zip
Make disable configurable between builtin/extra extensions
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/launch.py b/launch.py
index 1321b77a..c41ae82d 100644
--- a/launch.py
+++ b/launch.py
@@ -206,10 +206,6 @@ def list_extensions(settings_file):
print(e, file=sys.stderr)
disabled_extensions = set(settings.get('disabled_extensions', []))
- disable_all_extensions = settings.get('disable_all_extensions', False)
-
- if disable_all_extensions:
- return []
return [x for x in os.listdir(extensions_dir) if x not in disabled_extensions]