mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-14 23:45:50 +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")
|
timestamp = now().strftime("%Y-%m-%d-%H%M")
|
||||||
|
|
||||||
return (
|
return (
|
||||||
f"{self.event.slug}_broadcast_tools_{timestamp}.pdf",
|
f"{self.event.slug}_broadcast_tools_{self.schedule.version}.pdf",
|
||||||
"application/pdf",
|
"application/pdf",
|
||||||
f.read(),
|
f.read(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue