mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-17 03:40:14 +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:
|
for requirement in listed_requirements:
|
||||||
loaded_requirements = (x for x in requirement.split("|") if x in loaded_extensions)
|
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)
|
res.append(relevant_requirement)
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
Loading…
Reference in New Issue
Block a user