This commit is contained in:
ThomasV 2017-03-29 10:29:02 +02:00
parent 0105702d0f
commit f46b403a8d
1 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,10 @@ class Contacts(dict):
def __init__(self, storage):
self.storage = storage
d = self.storage.get('contacts', {})
self.update(d)
try:
self.update(d)
except:
return
# backward compatibility
for k, v in self.items():
_type, n = v