Without the newline iCal complains in the logs:
11-06-01 16:11:06 iCal[12955] Unexpected EOF, returning last token as fallback
This commit is contained in:
parent
5b9180c295
commit
710b518b0f
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user