Fix and add some more people from #837

This commit is contained in:
Ivanq 2021-03-25 21:13:50 +03:00
parent 2ea1d794fe
commit 3321a9dde8
12 changed files with 22 additions and 4 deletions

View File

@ -0,0 +1,2 @@
name: Bogdan Pylypenko
link: https://github.com/Bogdan107

2
_data/signed/Mesivo.yaml Normal file
View File

@ -0,0 +1,2 @@
name: Alex Shevchenko
link: https://github.com/Mesivo

View File

@ -0,0 +1,2 @@
name: Michael Fiedler
link: mailto:gmichaoil@gmail.com

View File

@ -0,0 +1,2 @@
name: Mark Ataev
link: mailto:markmarkovich1997@gmail.com

View File

@ -0,0 +1,2 @@
name: John Rodriguez
link: mailto:johrodri@optonline.net

View File

@ -0,0 +1,2 @@
name: Xavier C. Llano
link: https://github.com/XavierCLL

View File

@ -0,0 +1,2 @@
name: Nik Reist
link: https://github.com/ZeroAbility

View File

@ -1,2 +1,2 @@
name: your real name
name: demansr
link: https://github.com/demansr/

View File

@ -0,0 +1,2 @@
name: Bob Kaufman
link: https://github.com/h4xor666

View File

@ -0,0 +1,2 @@
name: ivansh
link: https://github.com/ivansh-cinarra

View File

@ -1,2 +1,2 @@
name: Jed Eckert
link: https://none
link: /#

View File

@ -14,7 +14,7 @@ for info, content in zip(parts[::2], parts[1::2]):
content_lines = [line.strip() for line in content.decode().replace("`", "").strip().split("\n")]
for i in range(len(content_lines) - 1):
if content_lines[i].startswith("name:") and content_lines[i + 1].startswith("link:"):
if content_lines[i].lower().startswith("name:") and content_lines[i + 1].lower().startswith("link:"):
if not os.path.isfile(f"_data/signed/{author}.yaml"):
with open(f"_data/signed/{author}.yaml", "w") as f:
f.write(content_lines[i] + "\n" + content_lines[i + 1] + "\n")
f.write("name:" + content_lines[i][5:] + "\nlink:" + content_lines[i + 1][5:] + "\n")