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

fix 404 in pdf exporter

This commit is contained in:
Franzi 2024-10-31 20:21:26 +01:00
parent 410ca28b79
commit 29db37bca5
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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