mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-24 00:21:02 +00:00
fix 404 in pdf exporter
This commit is contained in:
parent
410ca28b79
commit
29db37bca5
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class PDFInfoPage(Flowable):
|
||||||
def _questions(self):
|
def _questions(self):
|
||||||
return {
|
return {
|
||||||
int(i.strip())
|
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
|
if i
|
||||||
|
|
|
@ -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):
|
def register_data_exporter(sender, **kwargs):
|
||||||
from .exporter import PDFExporter
|
from .exporter import PDFExporter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue