From f36fbca5ea08a47db35b087704c29b0039e0cf2f Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 24 Jan 2012 00:12:21 +0100 Subject: Fixup event descriptions --- sublab_project/calendarium/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v1.2.1