Add Apple brand (#79227)

This commit is contained in:
Paulus Schoutsen
2022-09-29 13:44:01 -04:00
parent 0d462b6a14
commit 0c05e0e019
4 changed files with 42 additions and 28 deletions
+2 -4
View File
@@ -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",