diff options
-rw-r--r-- | sublab_project/calendarium/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sublab_project/calendarium/tasks.py b/sublab_project/calendarium/tasks.py index ee35e45..a2639dc 100644 --- a/sublab_project/calendarium/tasks.py +++ b/sublab_project/calendarium/tasks.py @@ -46,7 +46,7 @@ class CalendariumImport(PeriodicTask): event_info = {} for fieldinfo in event_fields: try: - event_info[fieldinfo[0]] = str(event[fieldinfo[1]]) + event_info[fieldinfo[0]] = event[fieldinfo[1]].format() except KeyError: event_info[fieldinfo[0]] = fieldinfo[2] start = icalendar.vDatetime.from_ical(event['dtstart'].ical()) |