summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2012-01-24 00:12:21 +0100
committerChristian Franke <nobody@nowhere.ws>2012-01-24 00:12:50 +0100
commitf36fbca5ea08a47db35b087704c29b0039e0cf2f (patch)
treea04e8b4452d059d8ff9771d37ebb506513f3881d
parent21963b4654737d403070dabfb2cf5b0521c522f4 (diff)
Fixup event descriptions
-rw-r--r--sublab_project/calendarium/tasks.py2
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())