From f63603d6de3aae9946c35faeb7070a9a5ff778f4 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 3 Nov 2024 15:02:50 +0100 Subject: [PATCH] export_voctomix_lower_thirds: no submission for talk means this is a break --- .../management/commands/export_voctomix_lower_thirds.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pretalx_broadcast_tools/management/commands/export_voctomix_lower_thirds.py b/pretalx_broadcast_tools/management/commands/export_voctomix_lower_thirds.py index 87f1bd5..50c84b3 100644 --- a/pretalx_broadcast_tools/management/commands/export_voctomix_lower_thirds.py +++ b/pretalx_broadcast_tools/management/commands/export_voctomix_lower_thirds.py @@ -286,6 +286,13 @@ class VoctomixLowerThirdsExporter: ) 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}") generated_files.add(self.export_talk(talk)) for speaker in talk.submission.speakers.all():