From f46b403a8d2ffc382d12b273932bd73d7127df03 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 29 Mar 2017 10:29:02 +0200 Subject: [PATCH] fix #2338 --- lib/contacts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/contacts.py b/lib/contacts.py index f641476d0..90b4d9ae7 100644 --- a/lib/contacts.py +++ b/lib/contacts.py @@ -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