From 15c8621f9fba9032bafe3b917fbdf43edac1252a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 12 Aug 2024 11:59:59 +0100 Subject: [PATCH] Singular --- pronouns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pronouns.py b/pronouns.py index 64b189d7e..98794c427 100644 --- a/pronouns.py +++ b/pronouns.py @@ -27,7 +27,7 @@ def get_pronouns(actor_json: {}) -> str: name_value = property_value['schema:name'].lower() if not name_value: continue - if 'pronouns' not in name_value: + if 'pronoun' not in name_value: continue if not property_value.get('type'): continue @@ -60,7 +60,7 @@ def set_pronouns(actor_json: {}, pronouns: str) -> None: continue if not property_value.get('type'): continue - if 'pronouns' not in name_value: + if 'pronoun' not in name_value: continue property_found = property_value break @@ -79,7 +79,7 @@ def set_pronouns(actor_json: {}, pronouns: str) -> None: if not property_value.get('type'): continue name_value = name_value.lower() - if 'pronouns' not in name_value: + if 'pronoun' not in name_value: continue if not property_value['type'].endswith('PropertyValue'): continue