From 3bf7aed74af0992fcaa022e08af05b05da5617a1 Mon Sep 17 00:00:00 2001 From: Phin Wolkwitz Date: Mon, 27 Apr 2026 15:26:19 +0200 Subject: [PATCH] Improve location formatting --- src/pretix/base/pdf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pretix/base/pdf.py b/src/pretix/base/pdf.py index af479f0853..80ca4f4b58 100644 --- a/src/pretix/base/pdf.py +++ b/src/pretix/base/pdf.py @@ -756,7 +756,9 @@ def get_program_times(op: OrderPosition, ev: Event): pt.end.astimezone(ev.timezone), as_html=False ), - ', '.join(l.strip() for l in str(pt.location).splitlines() if l.strip()) + (', ' + ', '.join( + l.strip() for l in str(pt.location).splitlines() if l.strip()) + ) if str(pt.location).strip() else '' ]) return '\n'.join(''.join(l) for l in ptstr)