tfix #2338 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f46b403a8d2ffc382d12b273932bd73d7127df03 DIR parent 0105702d0f274886f509ae0a817b407d6f061327 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 29 Mar 2017 10:29:02 +0200 fix #2338 Diffstat: M lib/contacts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/contacts.py b/lib/contacts.py t@@ -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