From 47815347fb90d9149bfb45d52ab62984986978c2 Mon Sep 17 00:00:00 2001 From: Ronan Dunklau Date: Thu, 30 Sep 2010 16:57:23 +0200 Subject: [PATCH] Fixed a bug when altering the only event on a calendar --- radicale/ical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/ical.py b/radicale/ical.py index 677bb84..c6dcaf0 100644 --- a/radicale/ical.py +++ b/radicale/ical.py @@ -217,7 +217,7 @@ class Calendar(object): headers = headers or self.headers or ( Header("PRODID:-//Radicale//NONSGML Radicale Server//EN"), Header("VERSION:2.0")) - items = items or self.items + items = items if items is not None else self.items # Create folder if absent if not os.path.exists(os.path.dirname(self.path)):