aboutsummaryrefslogtreecommitdiffstats
path: root/modules/launch_utils.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2024-01-26 08:16:53 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2024-01-26 08:16:53 +0000
commit47cf92039b524bb6dad05e96607208b8b9df7ede (patch)
treeb96f19ce834ccf8b2802fe0c1772e37dfb85670b /modules/launch_utils.py
parentc6c9d1227578525385a9e805b4099a07b3440062 (diff)
downloadstable-diffusion-webui-gfx803-47cf92039b524bb6dad05e96607208b8b9df7ede.tar.gz
stable-diffusion-webui-gfx803-47cf92039b524bb6dad05e96607208b8b9df7ede.tar.bz2
stable-diffusion-webui-gfx803-47cf92039b524bb6dad05e96607208b8b9df7ede.zip
minor fix to #14525
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r--modules/launch_utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py
index 8e58d714..3ff4576a 100644
--- a/modules/launch_utils.py
+++ b/modules/launch_utils.py
@@ -251,7 +251,6 @@ def list_extensions(settings_file):
except Exception:
errors.report(f'\nCould not load settings\nThe config file "{settings_file}" is likely corrupted\nIt has been moved to the "tmp/config.json"\nReverting config to default\n\n''', exc_info=True)
os.replace(settings_file, os.path.join(script_path, "tmp", "config.json"))
- settings = {}
disabled_extensions = set(settings.get('disabled_extensions', []))
disable_all_extensions = settings.get('disable_all_extensions', 'none')