1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-22 02:11:03 +00:00

export_voctomix_lower_thirds: no submission for talk means this is a break

This commit is contained in:
Franzi 2024-11-03 15:02:50 +01:00
parent 07090626e9
commit f63603d6de
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -286,6 +286,13 @@ class VoctomixLowerThirdsExporter:
) )
continue continue
if talk.submission is None:
self.log.info(
f"Talk {talk.id} has no associated submission, this is a break. "
"Skipping."
)
continue
self.log.info(f"Generating image(s) for talk {talk.submission.title!r}") self.log.info(f"Generating image(s) for talk {talk.submission.title!r}")
generated_files.add(self.export_talk(talk)) generated_files.add(self.export_talk(talk))
for speaker in talk.submission.speakers.all(): for speaker in talk.submission.speakers.all():