From 083dc32730d4c36606bdae7355424513e5094374 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 12 Aug 2024 21:47:34 +0100 Subject: [PATCH] Detecting email profile property --- pgp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pgp.py b/pgp.py index 1cd6e0711..a6031d535 100644 --- a/pgp.py +++ b/pgp.py @@ -57,7 +57,9 @@ def get_email_address(actor_json: {}) -> str: continue name_value_lower = name_value.lower() if 'email' not in name_value_lower: - continue + if 'e-mail' not in name_value_lower: + if 'electronic mail' not in name_value_lower: + continue if not property_value.get('type'): continue prop_value_name, _ = \