fix html_to_text typo

This commit is contained in:
Marc Durepos 2024-05-28 11:00:25 -04:00
parent f6d6e37c27
commit 599a3975e8

View file

@ -152,8 +152,8 @@ class CalendarEvent(models.Model):
ical_event.add('dtstamp', event.write_date.astimezone(user_tz))
if event.name:
ical_event.add('summary', event.name)
if self.html_to_text(event.description):
ical_event.add('description', self.html_to_text(event.description))
if self._html_to_text(event.description):
ical_event.add('description', self._html_to_text(event.description))
if event.location:
ical_event.add('location', event.location)
if event.videocall_location: