From 710b518b0fa960fc396d9e5b7bde73edb0f4a520 Mon Sep 17 00:00:00 2001 From: Lukasz Langa Date: Wed, 1 Jun 2011 16:21:03 +0200 Subject: [PATCH] Without the newline iCal complains in the logs: 11-06-01 16:11:06 iCal[12955] Unexpected EOF, returning last token as fallback --- radicale/ical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/ical.py b/radicale/ical.py index 09332a0..a20f044 100644 --- a/radicale/ical.py +++ b/radicale/ical.py @@ -52,7 +52,7 @@ def serialize(headers=(), items=()): for part in (headers, items): if part: lines.append("\n".join(item.text for item in part)) - lines.append("END:VCALENDAR") + lines.append("END:VCALENDAR\n") return "\n".join(lines)