Add Apple brand (#79227)
This commit is contained in:
parent
b49d499ab6
commit
62c114e849
4 changed files with 42 additions and 28 deletions
|
@ -51,10 +51,8 @@ def _validate_brand(
|
|||
f"'{sub_integration}' to 'integrations'",
|
||||
)
|
||||
|
||||
if (
|
||||
brand.domain in integrations
|
||||
and not brand.integrations
|
||||
or brand.domain not in brand.integrations
|
||||
if brand.domain in integrations and (
|
||||
not brand.integrations or brand.domain not in brand.integrations
|
||||
):
|
||||
config.add_error(
|
||||
"brand",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue