service: ignore speakers with no name

This commit is contained in:
Franzi 2024-02-25 09:21:19 +01:00
parent f9ee34ea5c
commit 69aa2deee2

View file

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