From bad650d5b96da9500324ac1559e7553ec296b1df Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 31 Oct 2024 19:00:09 +0100 Subject: [PATCH] exporter: use schedule version for pdf file name, not timestamp --- pretalx_broadcast_tools/exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pretalx_broadcast_tools/exporter.py b/pretalx_broadcast_tools/exporter.py index 74a9bca..0289413 100644 --- a/pretalx_broadcast_tools/exporter.py +++ b/pretalx_broadcast_tools/exporter.py @@ -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(), )