mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-25 11:31:04 +00:00
service: "public_name" for persons is optional
This commit is contained in:
parent
13b156b6fc
commit
a22f5a49fa
1 changed files with 1 additions and 1 deletions
2
service
2
service
|
@ -149,7 +149,7 @@ def main():
|
||||||
|
|
||||||
persons = []
|
persons = []
|
||||||
for p in talk["persons"]:
|
for p in talk["persons"]:
|
||||||
persons.append(p["public_name"])
|
persons.append(p.get("public_name", p["name"]))
|
||||||
talk["persons"] = persons
|
talk["persons"] = persons
|
||||||
|
|
||||||
schedule["talks"].append(talk)
|
schedule["talks"].append(talk)
|
||||||
|
|
Loading…
Reference in a new issue