mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-04 21:57:43 +03:00
Assign new items to correct key
This commit is contained in:
parent
9875db9a6c
commit
80ecae40cb
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ class Collection(object):
|
|||
text, (Timezone, Event, Todo, Journal, Card), name)
|
||||
for new_item in new_items.values():
|
||||
if new_item.name not in self.items:
|
||||
self.items[new_item] = new_item
|
||||
self.items[new_item.name] = new_item
|
||||
self.write()
|
||||
|
||||
def remove(self, name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue