mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix crash on empty values
This commit is contained in:
parent
213cb40480
commit
57b1ccdea5
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class Collection(ical.Collection):
|
||||||
for prop in db_properties:
|
for prop in db_properties:
|
||||||
self.session.delete(prop)
|
self.session.delete(prop)
|
||||||
for name, value in properties.items():
|
for name, value in properties.items():
|
||||||
prop = DBProperty(name=name, value=value,
|
prop = DBProperty(name=name, value=value or '',
|
||||||
collection_path=self.path)
|
collection_path=self.path)
|
||||||
self.session.add(prop)
|
self.session.add(prop)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue