Bumping to -5 to try and fix an issue with a missing phoneType
[gc-dialer] / src / backends / gv_backend.py
index 9cbba74..df9e3a6 100644 (file)
@@ -169,7 +169,7 @@ class GVDialer(object):
                        self._update_contacts_cache()
                contactDetails = self._contacts[contactId]
                return (
-                       (number["phoneType"], number["phoneNumber"])
+                       (number.get("phoneType", ""), number["phoneNumber"])
                        for number in contactDetails["numbers"]
                )