Fix brands check

This commit is contained in:
Ludeeus
2020-08-02 17:06:28 +00:00
parent 8ad92a0d6c
commit 7ad0c09dba
+5 -6
View File
@@ -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)