From 5fbfbc028df5da499657d865e23850970c758472 Mon Sep 17 00:00:00 2001 From: exquo <62397152+exquo@users.noreply.github.com> Date: Fri, 11 Dec 2020 08:00:38 +0000 Subject: [PATCH] Fix #94 Allow for signal-cli-data["profileStore"]["profiles"][]["profile"] == null in signal-cli v0.6.12 data file. --- scli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scli b/scli index 3d935c6..5c39927 100755 --- a/scli +++ b/scli @@ -1097,7 +1097,7 @@ class Signal: profiles_map = {p['name']: p for p in profiles} contact_id = hash_contact(contact) return profiles_map[contact_id]['profile']['name'] - except KeyError: + except (KeyError, TypeError): return None