mirror of https://gitlab.com/bashrc2/epicyon
Could be a phrase containing license
parent
171357374a
commit
e1bad8b9e1
|
@ -1800,8 +1800,8 @@ def _get_content_license(post_json_object: {}) -> str:
|
||||||
if not item.get('name'):
|
if not item.get('name'):
|
||||||
continue
|
continue
|
||||||
name_lower = item['name'].lower()
|
name_lower = item['name'].lower()
|
||||||
if name_lower != 'license' and \
|
if 'license' not in name_lower and \
|
||||||
name_lower != 'licence':
|
'licence' not in name_lower:
|
||||||
continue
|
continue
|
||||||
if item.get('value'):
|
if item.get('value'):
|
||||||
value = item['value']
|
value = item['value']
|
||||||
|
|
Loading…
Reference in New Issue