diff --git a/webapp_calendar.py b/webapp_calendar.py index 55a2ad010..89da70f61 100644 --- a/webapp_calendar.py +++ b/webapp_calendar.py @@ -150,10 +150,13 @@ def _htmlCalendarDay(personCache: {}, cssCache: {}, translate: {}, # get display name from sending actor if ev.get('sender'): senderActor = ev['sender'] - senderName = \ - '' + \ + dispName = \ getDisplayName(baseDir, senderActor, - personCache) + ': ' + personCache) + if dispName: + senderName = \ + '' + \ + dispName + ': ' if ev.get('name'): eventDescription = senderName + ev['name'].strip() elif ev['type'] == 'Place':