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