From da812600f49309cd7090464d7ffcfa1246d3a309 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 25 Apr 2023 01:16:23 -0300 Subject: [PATCH] Apply settings regardless of setup() function --- modules/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/extensions.py b/modules/extensions.py index 731fe089..e07e90ac 100644 --- a/modules/extensions.py +++ b/modules/extensions.py @@ -32,9 +32,9 @@ def load_extensions(): try: exec(f"import extensions.{name}.script") extension = getattr(extensions, name).script + apply_settings(extension, name) if extension not in setup_called and hasattr(extension, "setup"): setup_called.add(extension) - apply_settings(extension, name) extension.setup() state[name] = [True, i]