mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-22 02:12:30 +01:00
filter
This commit is contained in:
parent
1a3a0635f0
commit
2ec1cd7bc0
@ -41,10 +41,13 @@ for repo in repos:
|
|||||||
contr = list(map(format_contributor, contr))
|
contr = list(map(format_contributor, contr))
|
||||||
for cont in contr:
|
for cont in contr:
|
||||||
if not cont["login"].lower() in contributors_names:
|
if not cont["login"].lower() in contributors_names:
|
||||||
|
if not cont["login"] == "actions-user":
|
||||||
contributors_names.append(cont["login"].lower())
|
contributors_names.append(cont["login"].lower())
|
||||||
contributors.append(cont)
|
contributors.append(cont)
|
||||||
else :
|
else :
|
||||||
continue
|
continue
|
||||||
|
else:
|
||||||
|
continue
|
||||||
|
|
||||||
with open("contributors.json","w") as f:
|
with open("contributors.json","w") as f:
|
||||||
f.write(json.dumps(contributors, indent=4))
|
f.write(json.dumps(contributors, indent=4))
|
Loading…
Reference in New Issue
Block a user