From 29db37bca513c3d8c0caa2a92aa73dd9704d2a51 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 31 Oct 2024 20:21:26 +0100 Subject: [PATCH] fix 404 in pdf exporter --- pretalx_broadcast_tools/exporter.py | 2 +- pretalx_broadcast_tools/signals.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pretalx_broadcast_tools/exporter.py b/pretalx_broadcast_tools/exporter.py index 0289413..a6b8bb1 100644 --- a/pretalx_broadcast_tools/exporter.py +++ b/pretalx_broadcast_tools/exporter.py @@ -39,7 +39,7 @@ class PDFInfoPage(Flowable): def _questions(self): return { int(i.strip()) - for i in self.event.settings.broadcast_tools_pdf_questions_to_include.split( + for i in (self.event.settings.broadcast_tools_pdf_questions_to_include or "").split( "," ) if i diff --git a/pretalx_broadcast_tools/signals.py b/pretalx_broadcast_tools/signals.py index 8706744..a3eb526 100644 --- a/pretalx_broadcast_tools/signals.py +++ b/pretalx_broadcast_tools/signals.py @@ -37,7 +37,7 @@ def navbar_info(sender, request, **kwargs): ] -@receiver(register_data_exporters, dispatch_uid="exporter_broadcast_pdfexporter") +@receiver(register_data_exporters, dispatch_uid="exporter_broadcast_pdf") def register_data_exporter(sender, **kwargs): from .exporter import PDFExporter