mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
code tweaks on loaded plugins validator
This commit is contained in:
parent
45f0e8de59
commit
8794b9ca9a
1 changed files with 1 additions and 2 deletions
|
|
@ -47,8 +47,7 @@ class ValidateLoadedPlugin(OptionalPyblishPluginMixin,
|
|||
if not mapping:
|
||||
return
|
||||
|
||||
match_families = {fam for fam in mapping["families"]
|
||||
if fam.strip()}
|
||||
match_families = {fam.strip() for fam in mapping["families"]}
|
||||
has_match = "*" in match_families or match_families.intersection(
|
||||
instance_families)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue