fix #2338
This commit is contained in:
parent
0105702d0f
commit
f46b403a8d
@ -38,7 +38,10 @@ class Contacts(dict):
|
|||||||
def __init__(self, storage):
|
def __init__(self, storage):
|
||||||
self.storage = storage
|
self.storage = storage
|
||||||
d = self.storage.get('contacts', {})
|
d = self.storage.get('contacts', {})
|
||||||
self.update(d)
|
try:
|
||||||
|
self.update(d)
|
||||||
|
except:
|
||||||
|
return
|
||||||
# backward compatibility
|
# backward compatibility
|
||||||
for k, v in self.items():
|
for k, v in self.items():
|
||||||
_type, n = v
|
_type, n = v
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user