From 097fe1e21e9d73cd492b2c4ad718f99b04fe40cf Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 5 Apr 2023 15:25:05 +0200 Subject: change the symbol separating multiple events When generating latex the '&' separator breaks the resulting table. --- lessons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lessons.py') diff --git a/lessons.py b/lessons.py index 9a86e0e..0ff3280 100755 --- a/lessons.py +++ b/lessons.py @@ -86,8 +86,8 @@ def format_period(period: webuntis.objects.PeriodObject, ] if period_evs: for event in period_evs: - period_events += f' {event.summary} &' - # strip the trailing ' &' suffix + period_events += f' {event.summary} |' + # strip the trailing ' |' suffix period_events = period_events[:-2] output = config.get( -- cgit v1.2.3