mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
fix for listing wrong requirements for extensions
This commit is contained in:
parent
8ac4a207f3
commit
c4664b5a9c
@ -71,7 +71,7 @@ class ExtensionMetadata:
|
||||
|
||||
for requirement in listed_requirements:
|
||||
loaded_requirements = (x for x in requirement.split("|") if x in loaded_extensions)
|
||||
relevant_requirement = next(loaded_requirements, listed_requirements[0])
|
||||
relevant_requirement = next(loaded_requirements, requirement)
|
||||
res.append(relevant_requirement)
|
||||
|
||||
return res
|
||||
|
Loading…
Reference in New Issue
Block a user