From 57b1ccdea59835969489e5f515f4378e4fa57c0f Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 21 Aug 2015 20:11:44 +0200 Subject: [PATCH] Fix crash on empty values --- radicale/storage/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/storage/database.py b/radicale/storage/database.py index 0bdcd83..dd2317e 100644 --- a/radicale/storage/database.py +++ b/radicale/storage/database.py @@ -247,7 +247,7 @@ class Collection(ical.Collection): for prop in db_properties: self.session.delete(prop) for name, value in properties.items(): - prop = DBProperty(name=name, value=value, + prop = DBProperty(name=name, value=value or '', collection_path=self.path) self.session.add(prop)