♻️ make the check backwards compatible

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ondřej Samohel 2025-05-30 16:46:18 +02:00 committed by GitHub
parent 91df75f8ea
commit fac933c16a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,8 +128,7 @@ class LoaderPlugin(list):
plugin_product_base_types = cls.product_base_types
if (
not plugin_repre_names
or not plugin_product_types
or not plugin_product_base_types
or (not plugin_product_types and not plugin_product_base_types)
or not cls.extensions
):
return False