Remove lociii/homeassistant-digitalstrom

This commit is contained in:
Ludeeus
2020-08-16 08:32:44 +00:00
parent a5ded33c84
commit 31cb48cc1c
4 changed files with 11 additions and 3 deletions
+3 -1
View File
@@ -73,8 +73,10 @@ with open("removed", "r") as removed_file:
removedcontent = json.loads(removed_file.read())
blacklistcontent.append(remove["repository"])
if remove["repository"].split("/")[0] not in orgs:
categorycontent.remove(remove["repository"])
if remove["repository"] in categorycontent:
categorycontent.remove(remove["repository"])
data = {"repository": remove["repository"]}
if remove["reason"] is not None: