fix html_to_text typo
This commit is contained in:
parent
f6d6e37c27
commit
599a3975e8
1 changed files with 2 additions and 2 deletions
|
|
@ -152,8 +152,8 @@ class CalendarEvent(models.Model):
|
||||||
ical_event.add('dtstamp', event.write_date.astimezone(user_tz))
|
ical_event.add('dtstamp', event.write_date.astimezone(user_tz))
|
||||||
if event.name:
|
if event.name:
|
||||||
ical_event.add('summary', event.name)
|
ical_event.add('summary', event.name)
|
||||||
if self.html_to_text(event.description):
|
if self._html_to_text(event.description):
|
||||||
ical_event.add('description', self.html_to_text(event.description))
|
ical_event.add('description', self._html_to_text(event.description))
|
||||||
if event.location:
|
if event.location:
|
||||||
ical_event.add('location', event.location)
|
ical_event.add('location', event.location)
|
||||||
if event.videocall_location:
|
if event.videocall_location:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue