diff options
Diffstat (limited to 'lessons.py')
| -rwxr-xr-x | lessons.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,8 +90,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 = period_events[:-2] + # strip the leading ' ' and trailing ' |' + period_events = period_events[1:-2] output = config.get( 'fmt') or '{week} {date.strftime(\'%d.%m\')} {period_events}' |
