Attachment could be called 'copyright'

main
Bob Mottram 2023-01-17 10:52:50 +00:00
parent e1bad8b9e1
commit 7cf44a1aab
1 changed files with 1 additions and 0 deletions

View File

@ -1801,6 +1801,7 @@ def _get_content_license(post_json_object: {}) -> str:
continue continue
name_lower = item['name'].lower() name_lower = item['name'].lower()
if 'license' not in name_lower and \ if 'license' not in name_lower and \
'copyright' not in name_lower and \
'licence' not in name_lower: 'licence' not in name_lower:
continue continue
if item.get('value'): if item.get('value'):