Show wikidata description on github report

This commit is contained in:
Edward Betts 2023-09-25 14:55:08 +01:00
parent 22067b97e7
commit 73e694d373
2 changed files with 5 additions and 4 deletions

View file

@ -452,11 +452,11 @@ def github_wikidata() -> str:
"""Look for speakers on Wikidata based on the GitHub property."""
items = []
for line in open("found_wikidata_github"):
person_id, person_name, qid, wd_name, github, photo = eval(line)
person_id, person_name, qid, wd_name, github, desc = eval(line)
person = model.Person.query.get(person_id)
if person.wikidata_qid:
continue
items.append((person, qid, wd_name, photo))
items.append((person, qid, wd_name, desc))
items.sort(key=lambda i: len(i[0].name))