From 7ad0c09dba2719c9cd9e7c019e9133696e96f992 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Sun, 2 Aug 2020 17:06:28 +0000 Subject: [PATCH] Fix brands check --- scripts/check/brands.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/check/brands.py b/scripts/check/brands.py index 3b79a51..aaa1a66 100644 --- a/scripts/check/brands.py +++ b/scripts/check/brands.py @@ -13,14 +13,13 @@ TOKEN = os.getenv("GITHUB_TOKEN") async def check(): print("Information: https://hacs.xyz/docs/publish/include#check-brands") - # if get_category() != "integration": - # print("Only integrations are checked.") - # return + if get_category() != "integration": + print("Only integrations are checked.") + return - # manifest = get_manifest() + manifest = get_manifest() + domain = manifest.get("domain") - # domain = manifest.get("domain") - domain = "tahoma" if domain is None: print("No domain") exit(1)