Assign new items to correct key
This commit is contained in:
parent
9875db9a6c
commit
80ecae40cb
@ -355,7 +355,7 @@ class Collection(object):
|
|||||||
text, (Timezone, Event, Todo, Journal, Card), name)
|
text, (Timezone, Event, Todo, Journal, Card), name)
|
||||||
for new_item in new_items.values():
|
for new_item in new_items.values():
|
||||||
if new_item.name not in self.items:
|
if new_item.name not in self.items:
|
||||||
self.items[new_item] = new_item
|
self.items[new_item.name] = new_item
|
||||||
self.write()
|
self.write()
|
||||||
|
|
||||||
def remove(self, name):
|
def remove(self, name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user