mirror of https://gitlab.com/bashrc2/epicyon
Extra donation fieldname
parent
b91073ca7d
commit
723759066a
|
@ -47,7 +47,9 @@ def get_donation_url(actor_json: {}) -> str:
|
|||
name_value = property_value['schema:name']
|
||||
if not name_value:
|
||||
continue
|
||||
if name_value.lower() not in donation_type:
|
||||
name_value_lower = name_value.lower()
|
||||
if name_value_lower not in donation_type:
|
||||
if 'support' not in name_value_lower:
|
||||
continue
|
||||
if not property_value.get('type'):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue