mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
ed9854de10
commit
eb9609211f
4
utils.py
4
utils.py
|
|
@ -1118,10 +1118,10 @@ def get_gender_from_bio(base_dir: str, actor: str, person_cache: {},
|
||||||
continue
|
continue
|
||||||
if name_value.lower() == \
|
if name_value.lower() == \
|
||||||
translate['gender'].lower():
|
translate['gender'].lower():
|
||||||
bio_found = name_value
|
bio_found = tag[prop_value_name]
|
||||||
break
|
break
|
||||||
if name_value.lower().startswith(pronoun_str):
|
if name_value.lower().startswith(pronoun_str):
|
||||||
bio_found = name_value
|
bio_found = tag[prop_value_name]
|
||||||
break
|
break
|
||||||
# the field name could be anything,
|
# the field name could be anything,
|
||||||
# just look at the value
|
# just look at the value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue