From 599a3975e8111f2fcd79c1c220472323777e7804 Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Tue, 28 May 2024 11:00:25 -0400 Subject: [PATCH] fix html_to_text typo --- caldav_sync/models/calendar_event.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caldav_sync/models/calendar_event.py b/caldav_sync/models/calendar_event.py index e9d00db..caacf1d 100644 --- a/caldav_sync/models/calendar_event.py +++ b/caldav_sync/models/calendar_event.py @@ -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: