service: "public_name" for persons is optional

This commit is contained in:
Franzi 2023-12-20 20:29:46 +01:00
parent 13b156b6fc
commit a22f5a49fa

View file

@ -149,7 +149,7 @@ def main():
persons = []
for p in talk["persons"]:
persons.append(p["public_name"])
persons.append(p.get("public_name", p["name"]))
talk["persons"] = persons
schedule["talks"].append(talk)