fix for listing wrong requirements for extensions

This commit is contained in:
AUTOMATIC1111 2024-03-18 08:00:30 +03:00
parent 8ac4a207f3
commit c4664b5a9c

View File

@ -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