Commit 1c04c410 authored by Robin Sonnabend's avatar Robin Sonnabend

Fix last fix

parent dcf8934b
......@@ -1824,7 +1824,7 @@ def make_calendar_from_protocols(protocols, summary):
event["dtend"] = to_datetime(start + timedelta(hours=3))
event["summary"] = protocol.protocoltype.short_name
event["description"] = "\n".join(
top.name for top in protocol.get_tops() if top.name is not None
top.name for top in protocol.get_tops() if top.name is not None)
calendar.add_component(event)
content = calendar.to_ical().decode("utf-8")
for key in config.CALENDAR_TIMEZONE_MAP:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment