mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-23 21:11:01 +00:00
exporter: use schedule version for pdf file name, not timestamp
This commit is contained in:
parent
443c7ce85a
commit
bad650d5b9
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ class PDFExporter(ScheduleData):
|
|||
timestamp = now().strftime("%Y-%m-%d-%H%M")
|
||||
|
||||
return (
|
||||
f"{self.event.slug}_broadcast_tools_{timestamp}.pdf",
|
||||
f"{self.event.slug}_broadcast_tools_{self.schedule.version}.pdf",
|
||||
"application/pdf",
|
||||
f.read(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue