diff options
author | Christian Franke <nobody@nowhere.ws> | 2012-01-24 00:12:21 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2012-01-24 00:12:50 +0100 |
commit | f36fbca5ea08a47db35b087704c29b0039e0cf2f (patch) | |
tree | a04e8b4452d059d8ff9771d37ebb506513f3881d | |
parent | 21963b4654737d403070dabfb2cf5b0521c522f4 (diff) |
Fixup event descriptions
-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()) |