mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
populate loaded_extensions from extension list instead
This commit is contained in:
parent
0fc7dc1c04
commit
0d1924c48b
@ -371,9 +371,8 @@ def list_scripts(scriptdirname, extension, *, include_extensions=True):
|
||||
# resolve dependencies
|
||||
|
||||
loaded_extensions = set()
|
||||
for _, script_data in script_dependency_map.items():
|
||||
if script_data['extension'] is not None:
|
||||
loaded_extensions.add(script_data['extension'])
|
||||
for ext in extensions.active():
|
||||
loaded_extensions.add(ext.canonical_name)
|
||||
|
||||
for script_filename, script_data in script_dependency_map.items():
|
||||
# load before requires inverse dependency
|
||||
|
Loading…
Reference in New Issue
Block a user